Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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:= multimedia
  10. PKG_DEPENDS:= libid3tag libmad
  11. PKG_BUILDDEP:= libid3tag libmad
  12. PKG_URL:= http://www.underbit.com/products/mad
  13. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=mad/} \
  14. ftp://ftp.mars.org/pub/mpeg/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,MADPLAY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${CC_FOR_BUILD} \
  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. --without-alsa
  28. post-install:
  29. ${INSTALL_DIR} ${IDIR_MADPLAY}/usr/bin
  30. ${INSTALL_BIN} ${WRKINST}/usr/bin/madplay ${IDIR_MADPLAY}/usr/bin/
  31. include ${TOPDIR}/mk/pkg-bottom.mk