Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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-beta1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 795ecba86847e082aa2f21937cc04804
  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 libtool
  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. TARGET_LDFLAGS+= -ltinfo
  20. CONFIGURE_ARGS+= --without-jack \
  21. --without-oss \
  22. --without-musepack \
  23. --without-speex \
  24. --without-ffmpeg \
  25. --without-sndfile
  26. moc-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