wok view soundtouch/receipt @ rev 24061

Add lz4ultra
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 12 09:05:17 2021 +0000 (2021-06-12)
parents 6542c854008f
children 095836df71b7
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/tar.gz/!d;s|.*/soundtouch-\(.*\).tar.gz".*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 [ -d config/m4 ] || mkdir -p config/m4
27 ./bootstrap &&
28 ./configure \
29 --prefix=/usr \
30 --enable-shared \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }