wok-6.x view soundtouch/receipt @ rev 24767

Up zbar (0.23.90)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 10:01:29 2022 +0000 (2022-03-19)
parents dc0f7fd1ff7d
children 3c87910e2ece
line source
1 # SliTaz package receipt.
3 PACKAGE="soundtouch"
4 VERSION="2.1.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="An audio processing library."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.surina.net/soundtouch/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://gitlab.com/$PACKAGE/$PACKAGE/-/archive/$VERSION/$TARBALL"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="automake libtool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed '/release/!d;s|.* is ||;s| .*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 [ -d config/m4 ] || mkdir -p config/m4
28 ./bootstrap &&
29 ./configure \
30 --prefix=/usr \
31 --enable-shared \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }