wok-next view moc/receipt @ rev 10665
xbill: Fixed deps and bdeps. I think. It needs Xm/Xm.h file and lesstif-dev has it.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 27 03:44:32 2011 +0000 (2011-05-27) |
parents | 5b44af8c1257 |
children | bb009a6ef036 |
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 DEPENDS="alsa-lib libvorbis libogg libmad libid3tag flac curl \
9 libsamplerate libsndfile libtool ffmpeg ncursesw"
10 BUILD_DEPENDS="libvorbis-dev libogg-dev libmad-dev libid3tag-dev flac-dev \
11 curl-dev libsamplerate-dev alsa-lib-dev libcurl ncurses-dev \
12 libsndfile-dev libsndfile libid3tag pkg-config libsamplerate"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://moc.daper.net/"
15 WGET_URL="ftp://ftp.daper.net/pub/soft/moc/stable/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/moc $fs/usr/share/doc $fs/usr/share/moc
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/moc/* $fs/usr/lib/moc
35 cp -a $_pkg/usr/share/doc/* $fs/usr/share/doc
36 cp -a $_pkg/usr/share/moc/* $fs/usr/share/moc
38 # strip unneeded libraries
39 rm $fs/usr/lib/moc/decoder_plugins/*.*a
40 }