Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:= MP4 decoding library
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= autotool
  11. PKG_URL:= http://sourceforge.net/projects/faac/
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=faac/}
  13. PKG_LIBNAME:= libfaad2
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LIBFAAD2,libfaad2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. AUTOTOOL_STYLE:= autoreconf
  19. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  20. # check for lrintf fails on Darwin, don't know why
  21. CONFIGURE_ENV+= ac_cv_c99_lrintf=yes
  22. CONFIGURE_ARGS+= --without-mpeg4ip \
  23. --without-xmms
  24. TARGET_LDFLAGS+= -lm
  25. libfaad2-install:
  26. ${INSTALL_DIR} ${IDIR_LIBFAAD2}/usr/lib
  27. ${CP} ${WRKINST}/usr/lib/libfaad.so* ${IDIR_LIBFAAD2}/usr/lib/
  28. include ${TOPDIR}/mk/pkg-bottom.mk