wok-6.x annotate sox/receipt @ rev 4765

Add: libplayer (multimedia A/V abstraction layer API)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 10 23:10:04 2010 +0100 (2010-01-10)
parents 0b02072d7f48
children 4897058add72
rev   line source
pascal@1347 1 # SliTaz package receipt.
pascal@1347 2
pascal@1347 3 PACKAGE="sox"
pankso@3957 4 VERSION="14.3.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@2524 8 DEPENDS="libtool libsamplerate alsa-lib flac libid3tag libmad libvorbis libpng lame"
pascal@1347 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1347 10 WEB_SITE="http://sox.sourceforge.net/"
pascal@1347 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1347 12
pascal@1347 13 # Rules to configure and make the package.
pascal@1347 14 compile_rules()
pascal@1347 15 {
pascal@1347 16 cd $src
pascal@1347 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2440 18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2440 19 make &&
pascal@1347 20 make DESTDIR=$PWD/_pkg install
pascal@1347 21 }
pascal@1347 22
pascal@1347 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1347 24 genpkg_rules()
pascal@1347 25 {
pascal@1347 26 mkdir -p $fs/usr/lib/sox
pascal@1347 27 cp -a $_pkg/usr/bin $fs/usr
pascal@1347 28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1347 29 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
pankso@3957 30 #cp -a $_pkg/usr/lib/sox/*.so* $fs/usr/lib
pascal@1347 31 # Package all sox pkgs
pascal@1347 32 for i in $(cd $WOK; ls -d sox-*)
pascal@1347 33 do
pascal@1347 34 tazwok genpkg $i
pascal@1347 35 done
pascal@1347 36 }
pascal@1347 37