wok-next annotate sox/receipt @ rev 10445
ario: fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 25 03:14:19 2011 +0200 (2011-05-25) |
parents | 536255fb182d |
children | 1040bd60b471 |
rev | line source |
---|---|
pascal@1347 | 1 # SliTaz package receipt. |
pascal@1347 | 2 |
pascal@1347 | 3 PACKAGE="sox" |
slaxemulator@9193 | 4 VERSION="14.3.2" |
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 |
erjo@9945 | 12 DEPENDS="libltdl libsamplerate alsa-lib flac libid3tag libmad libvorbis libpng \ |
erjo@9945 | 13 lame libmagic libgomp libao ffmpeg libsndfile" |
erjo@9945 | 14 BUILD_DEPENDS="$DEPENDS ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev libvorbis-dev libpng-dev \ |
erjo@9945 | 15 lame-dev libsamplerate-dev alsa-lib-dev flac-dev libao-dev libogg-dev libmagic-dev" |
erjo@9945 | 16 |
pascal@1347 | 17 # Rules to configure and make the package. |
pascal@1347 | 18 compile_rules() |
pascal@1347 | 19 { |
pascal@1347 | 20 cd $src |
slaxemulator@10358 | 21 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2440 | 22 make && |
erjo@9945 | 23 make DESTDIR=$DESTDIR install |
pascal@1347 | 24 } |
pascal@1347 | 25 |
pascal@1347 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1347 | 27 genpkg_rules() |
pascal@1347 | 28 { |
pascal@1347 | 29 mkdir -p $fs/usr/lib/sox |
pascal@1347 | 30 cp -a $_pkg/usr/bin $fs/usr |
pascal@1347 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1347 | 32 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
pascal@1347 | 33 } |
pascal@1347 | 34 |