Makefile 1.2 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:= 1
  7. PKG_BUILDDEP+= libid3tag libmad
  8. PKG_MD5SUM:= 6814b47ceaa99880c754c5195aa1aac1
  9. PKG_DESCR:= MPEG audio player in fixed point
  10. PKG_SECTION:= sound
  11. PKG_DEPENDS:= 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,madplay,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE:= gnu
  18. CONFIGURE_ENV+= BUILD_CC="${TARGET_CC}" HOSTCC=${HOST_CC} \
  19. LIBS="-lz" \
  20. ac_cv_linux_vers=2 \
  21. td_cv_buggygetaddrinfo="no"
  22. CONFIGURE_ARGS+= --disable-debugging \
  23. --disable-profiling \
  24. --disable-experimental \
  25. --without-libiconv-prefix \
  26. --without-libintl-prefix \
  27. --without-esd \
  28. --with-alsa
  29. BUILD_STYLE:= auto
  30. INSTALL_STYLE:= auto
  31. post-install:
  32. ${INSTALL_DIR} ${IDIR_MADPLAY}/usr/bin
  33. ${INSTALL_BIN} ${WRKINST}/usr/bin/madplay ${IDIR_MADPLAY}/usr/bin/
  34. include ${TOPDIR}/mk/pkg-bottom.mk