wok annotate sox/receipt @ rev 5307
get-google-chrome: Fixed google-chrome-unstable DEPENDS
author | Liu Peng <rocky@slitaz.org> |
---|---|
date | Wed Apr 21 00:04:15 2010 +0000 (2010-04-21) |
parents | e1e135d5d448 |
children | 7125b977ddaf |
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@5007 | 8 DEPENDS="libtool libsamplerate alsa-lib flac libid3tag libmad libvorbis libpng \ |
pascal@5007 | 9 lame libmagic libgomp libao ffmpeg libsndfile" |
pascal@1347 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1347 | 11 WEB_SITE="http://sox.sourceforge.net/" |
pascal@1347 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1347 | 13 |
pascal@1347 | 14 # Rules to configure and make the package. |
pascal@1347 | 15 compile_rules() |
pascal@1347 | 16 { |
pascal@1347 | 17 cd $src |
pascal@1347 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2440 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2440 | 20 make && |
pascal@1347 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1347 | 22 } |
pascal@1347 | 23 |
pascal@1347 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1347 | 25 genpkg_rules() |
pascal@1347 | 26 { |
pascal@1347 | 27 mkdir -p $fs/usr/lib/sox |
pascal@1347 | 28 cp -a $_pkg/usr/bin $fs/usr |
pascal@1347 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1347 | 30 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
pankso@3957 | 31 #cp -a $_pkg/usr/lib/sox/*.so* $fs/usr/lib |
pascal@1347 | 32 # Package all sox pkgs |
pascal@1347 | 33 for i in $(cd $WOK; ls -d sox-*) |
pascal@1347 | 34 do |
pascal@1347 | 35 tazwok genpkg $i |
pascal@1347 | 36 done |
pascal@1347 | 37 } |
pascal@1347 | 38 |