Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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-beta2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= da87b90b57934234589b63e347921458
  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_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
  20. TARGET_LDFLAGS+= -ltinfo
  21. CONFIGURE_ARGS+= --without-jack \
  22. --without-oss \
  23. --without-musepack \
  24. --without-speex \
  25. --without-ffmpeg \
  26. --without-sndfile
  27. moc-install:
  28. ${INSTALL_DIR} ${IDIR_MOC}/usr/bin
  29. ${INSTALL_DIR} ${IDIR_MOC}/usr/lib/moc/decoder_plugins
  30. ${CP} ${WRKINST}/usr/lib/moc/decoder_plugins/*.so \
  31. ${IDIR_MOC}/usr/lib/moc/decoder_plugins
  32. ${INSTALL_BIN} ${WRKINST}/usr/bin/mocp ${IDIR_MOC}/usr/bin/
  33. include ${TOPDIR}/mk/pkg-bottom.mk