1
0

Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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:= moc
  5. PKG_VERSION:= 2.4.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 647c770a5542a4ae5437386807a89796
  8. PKG_DESCR:= console music player
  9. PKG_SECTION:= sound
  10. PKG_DEPENDS:= libmad libvorbis libcurl libflac ffmpeg
  11. PKG_URL:= http://moc.daper.net
  12. PKG_SITES:= ftp://ftp.daper.net/pub/soft/moc/stable/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,MOC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE:= gnu
  17. CONFIGURE_ARGS+= --without-jack \
  18. --without-oss \
  19. --without-musepack \
  20. --without-speex \
  21. --without-sndfile
  22. BUILD_STYLE:= auto
  23. INSTALL_STYLE:= auto
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_MOC}/usr/bin
  26. ${INSTALL_DIR} ${IDIR_MOC}/usr/lib/moc/decoder_plugins
  27. ${CP} ${WRKINST}/usr/lib/moc/decoder_plugins/*.so \
  28. ${IDIR_MOC}/usr/lib/moc/decoder_plugins
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/mocp ${IDIR_MOC}/usr/bin/
  30. include ${TOPDIR}/mk/pkg-bottom.mk