Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  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_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. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBFAAD2,libfaad2,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. AUTOTOOL_STYLE:= autoreconf
  18. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  19. # check for lrintf fails on Darwin, don't know why
  20. CONFIGURE_ENV+= ac_cv_c99_lrintf=yes
  21. CONFIGURE_ARGS+= --without-mpeg4ip \
  22. --without-xmms
  23. TARGET_LDFLAGS+= -lm
  24. libfaad2-install:
  25. ${INSTALL_DIR} ${IDIR_LIBFAAD2}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libfaad.so* ${IDIR_LIBFAAD2}/usr/lib/
  27. include ${TOPDIR}/mk/pkg-bottom.mk