Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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:= 1
  7. PKG_MD5SUM:= 6814b47ceaa99880c754c5195aa1aac1
  8. PKG_DESCR:= MPEG audio player in fixed point
  9. PKG_SECTION:= sound
  10. PKG_DEPENDS:= libid3tag libmad
  11. PKG_URL:= http://www.underbit.com/products/mad
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mad/} \
  13. ftp://ftp.mars.org/pub/mpeg/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,MADPLAY,madplay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOST_CC} \
  18. LIBS="-lz" \
  19. ac_cv_linux_vers=2 \
  20. td_cv_buggygetaddrinfo="no"
  21. CONFIGURE_ARGS+= --disable-debugging \
  22. --disable-profiling \
  23. --disable-experimental \
  24. --without-libiconv-prefix \
  25. --without-libintl-prefix \
  26. --without-esd \
  27. --with-alsa
  28. BUILD_STYLE:= auto
  29. INSTALL_STYLE:= auto
  30. post-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