wok annotate alsa-lib/receipt @ rev 25372

updated trash-cli (0.17.1.14 -> 0.22.4.16)
author Hans-G?nter Theisgen
date Fri Jul 29 14:58:56 2022 +0100 (2022-07-29)
parents 1931b321046f
children b81ceff0b056
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsa-lib"
Hans-G?nter@25066 4 VERSION="1.2.7"
pankso@177 5 CATEGORY="multimedia"
pankso@32 6 SHORT_DESC="Alsa sound libraries."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
Hans-G?nter@25066 9 WEB_SITE="https://www.alsa-project.org/wiki/Main_Page"
Hans-G?nter@25066 10
pankso@32 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@14607 12 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
pankso@15946 13
Hans-G?nter@25075 14 SUGGESTED="alsa-ucm-conf"
pankso@15946 15 DEPENDS="linux"
pankso@32 16
Hans-G?nter@25066 17 HOST_ARCH="i486 arm"
Hans-G?nter@25066 18
pascal@24066 19 current_version()
pascal@24066 20 {
pascal@24066 21 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
pascal@24066 22 sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q'
pascal@24066 23 }
pascal@24066 24
pankso@32 25 # Rules to configure and make the package.
pankso@32 26 compile_rules()
pankso@32 27 {
Hans-G?nter@25066 28 ./configure \
Hans-G?nter@25066 29 --disable-python \
slaxemulator@10047 30 $CONFIGURE_ARGS &&
Hans-G?nter@25066 31 make &&
Hans-G?nter@25066 32 make install
pankso@32 33 }
pankso@32 34
pankso@32 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 36 genpkg_rules()
pankso@32 37 {
admin@13548 38 # Enable software mixing for multiple audio streams
admin@13548 39 mkdir -p $fs/etc
Hans-G?nter@25066 40 cp $stuff/asound.conf $fs/etc
Hans-G?nter@25066 41
Hans-G?nter@25066 42 mkdir -p $fs/usr/lib
Hans-G?nter@25066 43 mkdir -p $fs/usr/share
Hans-G?nter@25066 44
Hans-G?nter@25066 45 cp -a $install/usr/bin $fs/usr
Hans-G?nter@25066 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@25066 47 cp -a $install/usr/share/alsa $fs/usr/share
pankso@32 48 }