wok view sox/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents e919c5a2742d
children 65ff25c4de90
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="https://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 }