nsim: symbols got renamed
[openadk.git] / package / moc / Makefile
blob505291a90a1cdda0be2256e3ce50e885c7dacc8c
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= moc
7 PKG_VERSION:= 2.5.1
8 PKG_RELEASE:= 1
9 PKG_HASH:= 1b419c75a92a85ff4ee7670c65d660c86fef32032c65e89e868b988f80fac4f2
10 PKG_DESCR:= console music player
11 PKG_SECTION:= mm/audio
12 PKG_DEPENDS:= libmad libvorbis libcurl libflac
13 PKG_DEPENDS+= libncurses libid3tag
14 PKG_BUILDDEP:= ncurses libvorbis curl libmad flac
15 PKG_BUILDDEP+= libid3tag libtool
16 PKG_URL:= http://moc.daper.net/
17 PKG_SITES:= ftp://ftp.daper.net/pub/soft/moc/stable/
19 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
21 include ${ADK_TOPDIR}/mk/package.mk
23 $(eval $(call PKG_template,MOC,moc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE
26 TARGET_LDFLAGS+= -ltinfo
28 CONFIGURE_ARGS+= --without-jack \
29 --without-oss \
30 --disable-cache \
31 --without-musepack \
32 --without-speex \
33 --without-ffmpeg \
34 --without-sndfile
36 moc-install:
37 ${INSTALL_DIR} ${IDIR_MOC}/usr/bin
38 ${INSTALL_DIR} ${IDIR_MOC}/usr/lib/moc/decoder_plugins
39 ${CP} ${WRKINST}/usr/lib/moc/decoder_plugins/*.so \
40 ${IDIR_MOC}/usr/lib/moc/decoder_plugins
41 ${INSTALL_BIN} ${WRKINST}/usr/bin/mocp ${IDIR_MOC}/usr/bin/
43 include ${ADK_TOPDIR}/mk/pkg-bottom.mk