wok-current view sox/receipt @ rev 2786
Up: slitaz-eeepc (1.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 21:57:44 2009 +0200 (2009-04-27) |
parents | 8c4a70e18847 |
children | e1e135d5d448 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sox"
4 VERSION="14.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Swiss Army knife of sound processing programs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="libtool libsamplerate alsa-lib flac libid3tag libmad libvorbis libpng lame"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sox.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/sox
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
30 cp -a $_pkg/usr/lib/sox/*.so* $fs/usr/lib
31 # Package all sox pkgs
32 for i in $(cd $WOK; ls -d sox-*)
33 do
34 tazwok genpkg $i
35 done
36 }