Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= libvorbis
  7. PKG_VERSION:= 1.2.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 478646358c49f34aedcce58948793619
  10. MASTER_SITES:= http://downloads.xiph.org/releases/vorbis/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,LIBVORBIS,libvorbis,${PKG_VERSION}-${PKG_RELEASE}))
  13. $(eval $(call PKG_template,LIBVORBISENC,libvorbisenc,${PKG_VERSION}-${PKG_RELEASE}))
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ENV+= LIBS="-lm -logg"
  16. CONFIGURE_ARGS+= --with-ogg="${STAGING_DIR}/usr" \
  17. --with-ogg-includes="${STAGING_DIR}/usr/include" \
  18. --with-ogg-libraries="${STAGING_DIR}/usr/lib"
  19. BUILD_STYLE= auto
  20. INSTALL_STYLE= auto confprog
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_LIBVORBIS}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libvorbis.so.* ${IDIR_LIBVORBIS}/usr/lib/
  24. ${CP} ${WRKINST}/usr/lib/libvorbisfile.so.* ${IDIR_LIBVORBIS}/usr/lib/
  25. ${INSTALL_DIR} ${IDIR_LIBVORBISENC}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libvorbisenc.so.* ${IDIR_LIBVORBISENC}/usr/lib/
  27. include ${TOPDIR}/mk/pkg-bottom.mk