wok view sox/receipt @ rev 2449
rox-filer: update build-depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 13 14:48:44 2009 +0000 (2009-03-13) |
parents | 5199985d69a7 |
children | 0b02072d7f48 |
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"
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 }