wok annotate sox/receipt @ rev 17482
typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 30 10:01:09 2014 +0100 (2014-12-30) |
parents | 1040bd60b471 |
children | 28c0d31f1850 |
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" |
pankso@16379 | 12 HOST_ARCH="i486 arm" |
pascal@1347 | 13 |
pankso@16379 | 14 DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad libvorbis \ |
pankso@16379 | 15 libpng lame libmagic libgomp libao ffmpeg libsndfile" |
pankso@16379 | 16 BUILD_DEPENDS="ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev \ |
pankso@16379 | 17 libvorbis-dev libpng-dev lame-dev libsamplerate-dev alsa-lib-dev \ |
pankso@16379 | 18 libao-dev libogg-dev libmagic-dev" |
pankso@16379 | 19 |
pankso@16379 | 20 # Handle SliTaz arch |
pankso@16379 | 21 case "$SLITAZ_ARCH" in |
pankso@16379 | 22 i?86) DEPENDS="$DEPENDS flac" |
pankso@16379 | 23 esac |
pankso@16379 | 24 |
pankso@16379 | 25 # Handle cross compilation |
pankso@16379 | 26 case "$ARCH" in |
pankso@16379 | 27 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" |
pankso@16379 | 28 esac |
erjo@9945 | 29 |
pascal@1347 | 30 # Rules to configure and make the package. |
pascal@1347 | 31 compile_rules() |
pascal@1347 | 32 { |
pankso@16379 | 33 ./configure \ |
pankso@16379 | 34 --with-distro="SliTaz" \ |
pankso@16379 | 35 $CONFIGURE_ARGS && |
pankso@16379 | 36 make && make install |
pascal@1347 | 37 } |
pascal@1347 | 38 |
pascal@1347 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1347 | 40 genpkg_rules() |
pascal@1347 | 41 { |
pascal@1347 | 42 mkdir -p $fs/usr/lib/sox |
pascal@15023 | 43 cp -a $install/usr/bin $fs/usr |
pascal@15023 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15023 | 45 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@1347 | 46 } |
pascal@1347 | 47 |