wok annotate sox/receipt @ rev 8025
up: xfconf* (4.8.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 20 02:17:43 2011 +0100 (2011-01-20) |
parents | 4897058add72 |
children | 9e150d16dc21 |
rev | line source |
---|---|
pascal@1347 | 1 # SliTaz package receipt. |
pascal@1347 | 2 |
pascal@1347 | 3 PACKAGE="sox" |
slaxemulator@6578 | 4 VERSION="14.3.1" |
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" |
slaxemulator@6578 | 10 BUILD_DEPENDS="$DEPENDS ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev libvorbis-dev libpng-dev lame-dev libsamplerate-dev alsa-lib-dev flac-dev libao-dev libogg-dev libmagic-dev" |
pascal@1347 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1347 | 12 WEB_SITE="http://sox.sourceforge.net/" |
pascal@1347 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1347 | 14 |
pascal@1347 | 15 # Rules to configure and make the package. |
pascal@1347 | 16 compile_rules() |
pascal@1347 | 17 { |
pascal@1347 | 18 cd $src |
pascal@1347 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2440 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@2440 | 21 make && |
pascal@1347 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1347 | 23 } |
pascal@1347 | 24 |
pascal@1347 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1347 | 26 genpkg_rules() |
pascal@1347 | 27 { |
pascal@1347 | 28 mkdir -p $fs/usr/lib/sox |
pascal@1347 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@1347 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1347 | 31 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
pankso@3957 | 32 #cp -a $_pkg/usr/lib/sox/*.so* $fs/usr/lib |
pascal@1347 | 33 } |
pascal@1347 | 34 |