wok-stable annotate sox/receipt @ rev 1471

atl2: force kernel path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 12:16:12 2008 +0000 (2008-10-04)
parents
children 5199985d69a7
rev   line source
pascal@1347 1 # SliTaz package receipt.
pascal@1347 2
pascal@1347 3 PACKAGE="sox"
pascal@1347 4 VERSION="14.1.0"
pascal@1347 5 CATEGORY="multimedia"
pascal@1347 6 SHORT_DESC="Swiss Army knife of sound processing programs."
pascal@1347 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1347 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1347 9 WEB_SITE="http://sox.sourceforge.net/"
pascal@1347 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1347 11
pascal@1347 12 # Rules to configure and make the package.
pascal@1347 13 compile_rules()
pascal@1347 14 {
pascal@1347 15 cd $src
pascal@1347 16 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@1347 17 --mandir=/usr/share/man $CONFIGURE_ARGS
pascal@1347 18 make
pascal@1347 19 make DESTDIR=$PWD/_pkg install
pascal@1347 20 }
pascal@1347 21
pascal@1347 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1347 23 genpkg_rules()
pascal@1347 24 {
pascal@1347 25 mkdir -p $fs/usr/lib/sox
pascal@1347 26 cp -a $_pkg/usr/bin $fs/usr
pascal@1347 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1347 28 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pascal@1347 29 cp -a $_pkg/usr/lib/sox/*.so* $fs/usr/lib
pascal@1347 30 # Package all sox pkgs
pascal@1347 31 for i in $(cd $WOK; ls -d sox-*)
pascal@1347 32 do
pascal@1347 33 tazwok genpkg $i
pascal@1347 34 done
pascal@1347 35 }
pascal@1347 36