Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= moc
  7. PKG_VERSION:= 2.4.4
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 647c770a5542a4ae5437386807a89796
  10. PKG_DESCR:= console music player
  11. PKG_SECTION:= sound
  12. PKG_DEPENDS:= libmad libvorbis libcurl libflac ffmpeg
  13. PKG_URL:= http://moc.daper.net
  14. PKG_SITES:= ftp://ftp.daper.net/pub/soft/moc/stable/
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,MOC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_STYLE:= gnu
  19. CONFIGURE_ARGS+= --without-jack \
  20. --without-oss \
  21. --without-musepack \
  22. --without-speex \
  23. --without-sndfile
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_MOC}/usr/bin
  28. ${INSTALL_DIR} ${IDIR_MOC}/usr/lib/moc/decoder_plugins
  29. ${CP} ${WRKINST}/usr/lib/moc/decoder_plugins/*.so \
  30. ${IDIR_MOC}/usr/lib/moc/decoder_plugins
  31. ${INSTALL_BIN} ${WRKINST}/usr/bin/mocp ${IDIR_MOC}/usr/bin/
  32. include ${TOPDIR}/mk/pkg-bottom.mk