wok-current annotate sox/receipt @ rev 22442
vlc: remove these deps -> did not help at all
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon Dec 23 15:27:45 2019 +0000 (2019-12-23) |
parents | e1ee172acb7b |
children | e919c5a2742d |
rev | line source |
---|---|
pascal@1347 | 1 # SliTaz package receipt. |
pascal@1347 | 2 |
pascal@1347 | 3 PACKAGE="sox" |
Hans-G?nter@21934 | 4 VERSION="14.4.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" |
Hans-G?nter@21934 | 9 WEB_SITE="http://sox.sourceforge.net/" |
Hans-G?nter@21934 | 10 |
pascal@1347 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1347 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21934 | 13 |
Hans-G?nter@21934 | 14 DEPENDS="alsa-lib ffmpeg lame libao libgomp libid3tag libltdl libmad \ |
Hans-G?nter@21934 | 15 libmagic libpng libsamplerate libsndfile libvorbis" |
Hans-G?nter@21934 | 16 BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev lame-dev libao-dev libid3tag-dev \ |
Hans-G?nter@21934 | 17 libmad-dev libmagic-dev libogg-dev libpng-dev libsamplerate-dev \ |
Hans-G?nter@21934 | 18 libsndfile-dev libvorbis-dev" |
Hans-G?nter@21934 | 19 |
pankso@16379 | 20 HOST_ARCH="i486 arm" |
pankso@16379 | 21 |
pankso@16379 | 22 # Handle SliTaz arch |
pankso@16379 | 23 case "$SLITAZ_ARCH" in |
pankso@16379 | 24 i?86) DEPENDS="$DEPENDS flac" |
pankso@16379 | 25 esac |
pankso@16379 | 26 |
pankso@16379 | 27 # Handle cross compilation |
pankso@16379 | 28 case "$ARCH" in |
pankso@16379 | 29 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" |
pankso@16379 | 30 esac |
erjo@9945 | 31 |
pascal@1347 | 32 # Rules to configure and make the package. |
pascal@1347 | 33 compile_rules() |
pascal@1347 | 34 { |
Hans-G?nter@21934 | 35 ./configure \ |
Hans-G?nter@21934 | 36 --with-distro="SliTaz" \ |
pankso@16379 | 37 $CONFIGURE_ARGS && |
Hans-G?nter@21934 | 38 make && |
Hans-G?nter@21934 | 39 make install |
pascal@1347 | 40 } |
pascal@1347 | 41 |
pascal@1347 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1347 | 43 genpkg_rules() |
pascal@1347 | 44 { |
pascal@1347 | 45 mkdir -p $fs/usr/lib/sox |
Hans-G?nter@21934 | 46 |
Hans-G?nter@21934 | 47 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21934 | 48 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@21934 | 49 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@1347 | 50 } |