1
0

Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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_URL:= http://www.xiph.org/vorbis/
  11. PKG_SITES:= http://downloads.xiph.org/releases/vorbis/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBVORBIS,libvorbis,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. $(eval $(call PKG_template,LIBVORBISENC,libvorbisenc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE= gnu
  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. BUILD_STYLE= auto
  21. INSTALL_STYLE= auto confprog
  22. post-install:
  23. ${INSTALL_DIR} ${IDIR_LIBVORBIS}/usr/lib
  24. ${CP} ${WRKINST}/usr/lib/libvorbis.so.* ${IDIR_LIBVORBIS}/usr/lib/
  25. ${CP} ${WRKINST}/usr/lib/libvorbisfile.so.* ${IDIR_LIBVORBIS}/usr/lib/
  26. ${INSTALL_DIR} ${IDIR_LIBVORBISENC}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libvorbisenc.so.* ${IDIR_LIBVORBISENC}/usr/lib/
  28. include ${TOPDIR}/mk/pkg-bottom.mk