wok-6.x view wavpack/receipt @ rev 24746

ncursesw-dev: add pkg config files (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 11:02:39 2022 +0000 (2022-03-16)
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 }