wok-stable view sox/receipt @ rev 6052
libproxy: fix compile_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 17 14:28:38 2010 +0200 (2010-08-17) |
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 }