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