wok view alsa-ucm-conf/receipt @ rev 25580

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 20 07:58:44 2023 +0000 (12 months ago)
parents 26ca23936f62
children
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-ucm-conf"
4 VERSION="1.2.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="ALSA Use Case Manager configuration."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="BSD-3-Clause"
9 WEB_SITE="https://www.alsa-project.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://alsa-project.org/files/pub/lib/$TARBALL"
14 HOST_ARCH="any"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed '/alsa-ucm-conf/!d;s|.*alsa-ucm-conf-||;s|.tar.*||' | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mkdir -p $install/usr/share/alsa
27 cp -a $src/ucm2 $install/usr/share/alsa
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders ucm2
34 }