wok view sox/receipt @ rev 23745

updated xdg-utils (1.1.0-rc1 -> 1.1.3)
author Hans-G?nter Theisgen
date Fri May 01 14:08:35 2020 +0100 (2020-05-01)
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 }