wok-next view moc/receipt @ rev 15679
lxc: add depend for linux-lxc
Add linux-lxc
Add linux-lxc
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 20:12:42 2013 +0100 (2013-12-20) |
parents | 3e599985638d |
children | 73fb2ebfd59a |
line source
1 # SliTaz package receipt.
3 PACKAGE="moc"
4 VERSION="2.4.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="Music on console."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://moc.daper.net/"
11 WGET_URL="ftp://ftp.daper.net/pub/soft/moc/stable/$TARBALL"
13 DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
14 libsamplerate libsndfile libtool ffmpeg ncursesw"
15 BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev \
16 curl-dev libsamplerate-dev alsa-lib-dev libcurl ncurses-dev \
17 libsndfile-dev libsndfile libid3tag pkg-config libsamplerate"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/moc/* $fs/usr/lib/moc
37 cp -a $install/usr/share/doc/* $fs/usr/share/doc
38 cp -a $install/usr/share/moc/* $fs/usr/share/moc
40 # strip unneeded libraries
41 rm $fs/usr/lib/moc/decoder_plugins/*.*a
42 }