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 ${ADK_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/video
  10. PKG_URL:= http://sourceforge.net/projects/faac/
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=faac/}
  12. PKG_LIBNAME:= libfaad2
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_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. # check for lrintf fails on Darwin, don't know why
  19. CONFIGURE_ENV+= ac_cv_c99_lrintf=yes
  20. CONFIGURE_ARGS+= --without-mpeg4ip \
  21. --without-xmms
  22. TARGET_LDFLAGS+= -lm
  23. libfaad2-install:
  24. ${INSTALL_DIR} ${IDIR_LIBFAAD2}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libfaad.so* ${IDIR_LIBFAAD2}/usr/lib/
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk