1
0

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