wok view wavpack/receipt @ rev 25601

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 18:06:38 2023 +0000 (10 months ago)
parents 8d429ff324a2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wavpack"
4 VERSION="5.5.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 '/tag\//!d;s|.*tag/[A-Za-z_-]*||;s|".*||;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 --enable-static \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 cook_copy_files *.so*
42 }