wok view sox/receipt @ rev 25358

updated tinyproxy (1.10.0 -> 1.11.1)
author Hans-G?nter Theisgen
date Wed Jul 27 07:50:39 2022 +0100 (2022-07-27)
parents 28c0d31f1850
children 7dd01dedad38
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 # What is the latest version available today?
33 current_version()
34 {
35 wget -O - https://sourceforge.net/projects/sox/files/sox/ 2>/dev/null | \
36 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
37 sed '/scope="row/!d;s|.*/sox/||;s|/.*||;q'
38 }
40 # Rules to configure and make the package.
41 compile_rules()
42 {
43 ./configure \
44 --with-distro="SliTaz" \
45 $CONFIGURE_ARGS &&
46 make &&
47 make install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib/sox
55 cp -a $install/usr/bin $fs/usr
56 cp -a $install/usr/lib/*.so* $fs/usr/lib
57 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
58 }