wok-4.x view moc/receipt @ rev 12347

gnome-vfs: repaired (from unwork state); added gnome-vfs-i18n (optional lang files)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 22 01:17:33 2012 +0000 (2012-10-22)
parents 5b44af8c1257
children
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 }