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_MD5SUM:= 647c770a5542a4ae5437386807a89796
  8. PKG_DESCR:= console music player
  9. PKG_SECTION:= sound
  10. PKG_DEPENDS:= libmad libvorbis libcurl libflac ffmpeg libiconv
  11. PKG_DEPENDS+= libncurses libid3tag
  12. PKG_BUILDDEP+= ncurses libvorbis curl libmad flac ffmpeg libiconv
  13. PKG_BUILDDEP+= libid3tag
  14. PKG_URL:= http://moc.daper.net
  15. PKG_SITES:= ftp://ftp.daper.net/pub/soft/moc/stable/
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,MOC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --without-jack \
  20. --without-oss \
  21. --without-musepack \
  22. --without-speex \
  23. --without-sndfile
  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