wok view sox/receipt @ rev 5012
rm rpm in for loop to save RAM (thanks Eric)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Feb 28 19:50:05 2010 +0000 (2010-02-28) |
parents | e1e135d5d448 |
children | 7125b977ddaf |
line source
1 # SliTaz package receipt.
3 PACKAGE="sox"
4 VERSION="14.3.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 \
9 lame libmagic libgomp libao ffmpeg libsndfile"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://sox.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib/sox
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
31 #cp -a $_pkg/usr/lib/sox/*.so* $fs/usr/lib
32 # Package all sox pkgs
33 for i in $(cd $WOK; ls -d sox-*)
34 do
35 tazwok genpkg $i
36 done
37 }