wok annotate wavpack/receipt @ rev 25220
updated python-psutil (5.7.0 -> 5.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:55:11 2022 +0100 (2022-07-13) |
parents | b569b85b0fb9 |
children | 8d429ff324a2 |
rev | line source |
---|---|
slaxemulator@7307 | 1 # SliTaz package receipt. |
slaxemulator@7307 | 2 |
slaxemulator@7307 | 3 PACKAGE="wavpack" |
Hans-G?nter@23731 | 4 VERSION="5.3.0" |
slaxemulator@7307 | 5 CATEGORY="multimedia" |
slaxemulator@7307 | 6 SHORT_DESC="Auto compression format with lossless, lossy, and hybrid compression modes." |
slaxemulator@7307 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15601 | 8 LICENSE="BSD" |
pascal@24746 | 9 WEB_SITE="https://www.wavpack.com/" |
Hans-G?nter@22121 | 10 |
Hans-G?nter@22121 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22121 | 12 WGET_URL="https://github.com/dbry/WavPack/archive/$VERSION.tar.gz" |
slaxemulator@7307 | 13 |
pascal@15601 | 14 DEPENDS="glibc-base" |
Hans-G?nter@23731 | 15 BUILD_DEPENDS="autoconf automake libtool" |
pascal@15601 | 16 |
pascal@24308 | 17 # What is the latest version available today? |
pascal@24308 | 18 current_version() |
pascal@24308 | 19 { |
pascal@24308 | 20 wget -O - https://github.com/dbry/WavPack/releases 2>/dev/null | \ |
pascal@24308 | 21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' |
pascal@24308 | 22 } |
pascal@24308 | 23 |
slaxemulator@7307 | 24 # Rules to configure and make the package. |
slaxemulator@7307 | 25 compile_rules() |
slaxemulator@7307 | 26 { |
Hans-G?nter@22121 | 27 ./autogen.sh \ |
Hans-G?nter@22121 | 28 --prefix=/usr \ |
Hans-G?nter@22121 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@22121 | 30 --mandir=/usr/share/man \ |
slaxemulator@7307 | 31 $CONFIGURE_ARGS && |
Hans-G?nter@22121 | 32 make && |
Hans-G?nter@22121 | 33 make DESTDIR=$DESTDIR install |
slaxemulator@7307 | 34 } |
slaxemulator@7307 | 35 |
slaxemulator@7307 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7307 | 37 genpkg_rules() |
slaxemulator@7307 | 38 { |
slaxemulator@7307 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22121 | 40 |
Hans-G?nter@22121 | 41 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22121 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7307 | 43 } |