wok-6.x view sox/receipt @ rev 24326
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 27 12:16:00 2022 +0000 (2022-01-27) |
parents | e1ee172acb7b |
children | e919c5a2742d |
line source
1 # SliTaz package receipt.
3 PACKAGE="sox"
4 VERSION="14.4.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 DEPENDS="alsa-lib ffmpeg lame libao libgomp libid3tag libltdl libmad \
15 libmagic libpng libsamplerate libsndfile libvorbis"
16 BUILD_DEPENDS="alsa-lib-dev ffmpeg-dev lame-dev libao-dev libid3tag-dev \
17 libmad-dev libmagic-dev libogg-dev libpng-dev libsamplerate-dev \
18 libsndfile-dev libvorbis-dev"
20 HOST_ARCH="i486 arm"
22 # Handle SliTaz arch
23 case "$SLITAZ_ARCH" in
24 i?86) DEPENDS="$DEPENDS flac"
25 esac
27 # Handle cross compilation
28 case "$ARCH" in
29 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev"
30 esac
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 ./configure \
36 --with-distro="SliTaz" \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib/sox
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
50 }