wok-current view sox/receipt @ rev 2433

cups, cyrus-sasl, pam, pam_ldap, perdition, rpm4, samba: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 12 15:53:10 2009 +0000 (2009-03-12)
parents 2ff9c727c0ee
children 8c4a70e18847
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"
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 }