wok-current view alsa-tools/receipt @ rev 24066

Add some current_version()
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 15:00:07 2021 +0000 (2021-07-05)
parents 8144275286f2
children 94dd3813f40d
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-tools"
4 VERSION="1.1.5"
5 CATEGORY="meta"
6 SHORT_DESC="Alsa sound system additionnal tools (meta package)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.alsa-project.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://alsa.cybermirror.org/tools/$TARBALL"
12 GENERIC_MENUS="no"
14 # We don't want all card mixer as dep.
15 DEPENDS="alsa-lib" # alsa-tools-ac3dec
16 BUILD_DEPENDS="alsa-lib-dev gtk+-dev fltk-dev autoconf automake"
18 # List of tools we want to build, then splited into individual packages
19 TOOLS="as10k1 envy24control hdsploader hdspconf hdspmixer \
20 mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
21 us428control usx2yloader vxloader echomixer qlo10k1 \
22 hwmixvolume hdajackretask hda-verb hdajacksensetest" # ld10k1
24 current_version()
25 {
26 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
27 sed '/alsa-tools-/!d;s|.*alsa-tools-||;s|.tar.*||;q'
28 }
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 for tool in $TOOLS; do
34 cd $src/$tool
35 ./configure $CONFIGURE_ARGS
36 make && make DESTDIR=$DESTDIR install
37 done
38 }