wok-current view wavpack/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | 833da2de9104 |
children | cb67b4f8be05 |
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="http://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 }