Makefile 918 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:= faad2
  5. PKG_VERSION:= 2.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ee1b4d67ea2d76ee52c5621bc6dbf61e
  8. PKG_DESCR:= A MP4 decoding library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://sourceforge.net/projects/faac/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=faac/}
  12. PKG_SUBPKGS:= LIBFAAD2
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBFAAD2,libfaad2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. # check for lrintf fails on Darwin, don't know why
  16. CONFIGURE_ENV+= ac_cv_c99_lrintf=yes
  17. CONFIGURE_ARGS+= --without-mpeg4ip \
  18. --without-xmms
  19. TARGET_LDFLAGS+= -lm
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBFAAD2}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libfaad.so* ${IDIR_LIBFAAD2}/usr/lib/
  23. include ${TOPDIR}/mk/pkg-bottom.mk