wok view alsaequal/receipt @ rev 24535

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 23 11:49:52 2022 +0000 (2022-02-23)
parents 814c58f64f83
children a769fef7a975
line source
1 # SliTaz package receipt.
3 PACKAGE="alsaequal"
4 VERSION="0.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Real-time adjustable equalizer plugin for ALSA."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://web.archive.org/web/20161105202833/http://thedigitalmachine.net/alsaequal.html"
11 WGET_URL="http://www.thedigitalmachine.net/tools/$TARBALL"
13 DEPENDS="alsa-utils caps"
14 BUILD_DEPENDS="caps alsa-lib-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/bassdr/alsaequal/releases 2> /dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/alsa-lib
33 cp -a $src/*.so* $fs/usr/lib/alsa-lib
34 }