Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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.5.0-alpha4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 2dd0cb6481d77fda09c58ec3154a21c0
  8. PKG_DESCR:= console music player
  9. PKG_SECTION:= multimedia
  10. PKG_DEPENDS:= libmad libvorbis libcurl libflac
  11. PKG_DEPENDS+= libncurses libid3tag
  12. PKG_BUILDDEP:= ncurses libvorbis curl libmad flac libiconv-tiny
  13. PKG_BUILDDEP+= libid3tag db
  14. PKG_URL:= http://moc.daper.net/
  15. PKG_SITES:= ftp://ftp.daper.net/pub/soft/moc/unstable/
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,MOC,moc,${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-ffmpeg \
  24. --without-sndfile
  25. moc-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