wok-next annotate sox/receipt @ rev 15343
perl: add threads support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 15:37:29 2013 +0000 (2013-09-29) |
parents | 9e2e50b698ab |
children | e1ee172acb7b |
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@15023 | 8 LICENSE="GPL LGPL" |
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 |
erjo@9945 | 13 DEPENDS="libltdl libsamplerate alsa-lib flac libid3tag libmad libvorbis libpng \ |
erjo@9945 | 14 lame libmagic libgomp libao ffmpeg libsndfile" |
erjo@9945 | 15 BUILD_DEPENDS="$DEPENDS ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev libvorbis-dev libpng-dev \ |
erjo@9945 | 16 lame-dev libsamplerate-dev alsa-lib-dev flac-dev libao-dev libogg-dev libmagic-dev" |
erjo@9945 | 17 |
pascal@1347 | 18 # Rules to configure and make the package. |
pascal@1347 | 19 compile_rules() |
pascal@1347 | 20 { |
pascal@1347 | 21 cd $src |
slaxemulator@10358 | 22 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@2440 | 23 make && |
erjo@9945 | 24 make DESTDIR=$DESTDIR install |
pascal@1347 | 25 } |
pascal@1347 | 26 |
pascal@1347 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1347 | 28 genpkg_rules() |
pascal@1347 | 29 { |
pascal@1347 | 30 mkdir -p $fs/usr/lib/sox |
pascal@15023 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15023 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15023 | 33 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@1347 | 34 } |
pascal@1347 | 35 |