wok-next view sox/receipt @ rev 20732
Some python-* packaged using pip: actualize $VERSION in genpkg_rules()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 17:01:41 2018 +0300 (2018-05-29) |
parents | 9e5dca6702bf |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sox"
4 VERSION="14.3.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Swiss Army knife of sound processing programs"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL LGPL"
9 WEB_SITE="http://sox.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS_arm="ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev \
15 libvorbis-dev libpng16-dev lame-dev libsamplerate-dev alsa-lib-dev \
16 libao-dev libogg-dev libmagic-dev"
17 BUILD_DEPENDS="ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev \
18 libvorbis-dev libpng16-dev lame-dev libsamplerate-dev alsa-lib-dev \
19 libao-dev libogg-dev libmagic-dev flac-dev"
20 SPLIT="sox-dev"
22 compile_rules() {
23 ./configure \
24 --with-distro="SliTaz" \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 sox)
34 copy @std
35 case "$SLITAZ_ARCH" in
36 arm*)
37 DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad \
38 libvorbis libpng16 lame libmagic libgomp libao ffmpeg \
39 libsndfile"
40 ;;
41 *)
42 DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad \
43 libvorbis libpng16 lame libmagic libgomp libao ffmpeg \
44 libsndfile flac"
45 ;;
46 esac
47 ;;
48 *-dev)
49 copy @dev
50 ;;
51 esac
52 }