Makefile 910 B

12345678910111213141516171819202122232425262728293031
  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:= flac
  5. PKG_VERSION:= 1.2.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 153c8b15a54da428d1f0fadc756c22c7
  8. PKG_DESCR:= Free Lossless Audio Codec library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://flac.sourceforge.net
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=flac/}
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBFLAC,libflac,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIGURE_STYLE= gnu
  15. CONFIGURE_ARGS+= --disable-asm-optimizations \
  16. --disable-xmms-plugin \
  17. --disable-cpplibs \
  18. --disable-ogg
  19. BUILD_STYLE= auto
  20. INSTALL_STYLE= auto confprog
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_LIBFLAC}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libFLAC.so* ${IDIR_LIBFLAC}/usr/lib/
  24. include ${TOPDIR}/mk/pkg-bottom.mk