wok view wavpack/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents b569b85b0fb9
children 8d429ff324a2
line source
1 # SliTaz package receipt.
3 PACKAGE="wavpack"
4 VERSION="5.3.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Auto compression format with lossless, lossy, and hybrid compression modes."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.wavpack.com/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/dbry/WavPack/archive/$VERSION.tar.gz"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="autoconf automake libtool"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/dbry/WavPack/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR 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 }