wok view sox/receipt @ rev 1496
Up libgsf (1.14.9)
| author | Pascal Bellard <pascal.bellard@slitaz.org> | 
|---|---|
| date | Sun Oct 05 13:07:07 2008 +0000 (2008-10-05) | 
| parents | |
| children | 5199985d69a7 | 
 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 TARBALL="$PACKAGE-$VERSION.tar.gz"
     9 WEB_SITE="http://sox.sourceforge.net/"
    10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    12 # Rules to configure and make the package.
    13 compile_rules()
    14 {
    15 	cd $src
    16 	./configure --prefix=/usr --infodir=/usr/share/info \
    17 	--mandir=/usr/share/man $CONFIGURE_ARGS
    18 	make
    19 	make DESTDIR=$PWD/_pkg install
    20 }
    22 # Rules to gen a SliTaz package suitable for Tazpkg.
    23 genpkg_rules()
    24 {
    25 	mkdir -p $fs/usr/lib/sox
    26 	cp -a $_pkg/usr/bin $fs/usr
    27 	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    28 	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    29 	cp -a $_pkg/usr/lib/sox/*.so* $fs/usr/lib
    30 	# Package all sox pkgs
    31 	for i in $(cd $WOK; ls -d sox-*)
    32 	do
    33 		tazwok genpkg $i
    34 	done
    35 }