Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= libvorbis
  5. PKG_VERSION:= 1.2.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 478646358c49f34aedcce58948793619
  8. PKG_DESCR:= The Vorbis General Audio Compression Codec library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP+= libogg
  11. PKG_URL:= http://www.xiph.org/vorbis/
  12. PKG_SITES:= http://downloads.xiph.org/releases/vorbis/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBVORBIS,libvorbis,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. $(eval $(call PKG_template,LIBVORBISENC,libvorbisenc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ENV+= LIBS="-lm -logg"
  17. CONFIGURE_ARGS+= --with-ogg="${STAGING_DIR}/usr" \
  18. --with-ogg-includes="${STAGING_DIR}/usr/include" \
  19. --with-ogg-libraries="${STAGING_DIR}/usr/lib"
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBVORBIS}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libvorbis.so.* ${IDIR_LIBVORBIS}/usr/lib/
  23. ${CP} ${WRKINST}/usr/lib/libvorbisfile.so.* ${IDIR_LIBVORBIS}/usr/lib/
  24. ${INSTALL_DIR} ${IDIR_LIBVORBISENC}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libvorbisenc.so.* ${IDIR_LIBVORBISENC}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk