Makefile 918 B

123456789101112131415161718192021222324252627282930
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= flac
  5. PKG_VERSION:= 1.3.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 13b5c214cee8373464d3d65dee362cdd
  8. PKG_DESCR:= free lossless audio codec library
  9. PKG_SECTION:= libs/audio
  10. PKG_URL:= http://flac.sourceforge.net
  11. PKG_SITES:= http://downloads.xiph.org/releases/flac/
  12. PKG_LIBNAME:= libflac
  13. PKG_OPTS:= dev
  14. include ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBFLAC,libflac,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. CONFIGURE_ARGS+= --enable-asm-optimizations \
  17. --disable-xmms-plugin \
  18. --disable-cpplibs \
  19. --disable-ogg
  20. libflac-install:
  21. ${INSTALL_DIR} ${IDIR_LIBFLAC}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libFLAC.so* ${IDIR_LIBFLAC}/usr/lib/
  23. include ${ADK_TOPDIR}/mk/pkg-bottom.mk