1
0

Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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:= madplay
  5. PKG_VERSION:= 0.15.2b
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 6814b47ceaa99880c754c5195aa1aac1
  8. PKG_DESCR:= MPEG audio player in fixed point
  9. PKG_SECTION:= multimedia
  10. PKG_DEPENDS:= libid3tag libmad alsa-lib
  11. PKG_BUILDDEP:= libid3tag libmad alsa-lib
  12. PKG_URL:= http://www.underbit.com/products/mad
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mad/} \
  14. ftp://ftp.mars.org/pub/mpeg/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,MADPLAY,madplay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
  19. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${CC_FOR_BUILD} \
  20. LIBS="-lz" \
  21. ac_cv_linux_vers=2 \
  22. td_cv_buggygetaddrinfo="no"
  23. CONFIGURE_ARGS+= --disable-debugging \
  24. --disable-profiling \
  25. --disable-experimental \
  26. --without-libiconv-prefix \
  27. --without-libintl-prefix \
  28. --without-esd \
  29. --with-alsa
  30. madplay-install:
  31. ${INSTALL_DIR} ${IDIR_MADPLAY}/usr/bin
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/madplay ${IDIR_MADPLAY}/usr/bin/
  33. include ${TOPDIR}/mk/pkg-bottom.mk