wok annotate alsaequal/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-22) |
parents | 7c0170dd3ecc |
children | 343c093ad221 |
rev | line source |
---|---|
paul@7621 | 1 # SliTaz package receipt. |
paul@7621 | 2 |
paul@7621 | 3 PACKAGE="alsaequal" |
Hans-G?nter@25069 | 4 VERSION="0.7.1" |
paul@7621 | 5 CATEGORY="multimedia" |
paul@7621 | 6 SHORT_DESC="Real-time adjustable equalizer plugin for ALSA." |
paul@7621 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15362 | 8 LICENSE="LGPL2.1" |
pascal@20423 | 9 WEB_SITE="https://web.archive.org/web/20161105202833/http://thedigitalmachine.net/alsaequal.html" |
Hans-G?nter@25069 | 10 |
Hans-G?nter@25069 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@7621 | 12 WGET_URL="http://www.thedigitalmachine.net/tools/$TARBALL" |
Hans-G?nter@25069 | 13 WGET_URL="https://github.com/bassdr/$PACKAGE/archive/v$VERSION.tar.gz" |
paul@7621 | 14 |
pascal@15362 | 15 DEPENDS="alsa-utils caps" |
Hans-G?nter@25069 | 16 BUILD_DEPENDS="alsa-lib-dev caps ladspa-dev" |
pascal@15362 | 17 |
pascal@24535 | 18 # What is the latest version available today? |
pascal@24535 | 19 current_version() |
pascal@24535 | 20 { |
pascal@24535 | 21 wget -O - https://github.com/bassdr/alsaequal/releases 2> /dev/null | \ |
pascal@24535 | 22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24535 | 23 } |
pascal@24535 | 24 |
paul@7621 | 25 # Rules to configure and make the package. |
paul@7621 | 26 compile_rules() |
paul@7621 | 27 { |
paul@7621 | 28 make |
paul@7621 | 29 } |
paul@7621 | 30 |
paul@7621 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@7621 | 32 genpkg_rules() |
paul@7621 | 33 { |
paul@7621 | 34 mkdir -p $fs/usr/lib/alsa-lib |
Hans-G?nter@25069 | 35 cp -a $src/*.so* $fs/usr/lib/alsa-lib |
paul@7621 | 36 } |