wok annotate alsa-lib/receipt @ rev 24225

updated perl-io-socket-ssl (2.068 -> 2.073)
author Hans-G?nter Theisgen
date Fri Dec 31 17:41:39 2021 +0100 (2021-12-31)
parents 0b02213fe0a1
children 1931b321046f
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsa-lib"
pascal@23834 4 VERSION="1.2.2"
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"
pankso@32 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@32 10 WEB_SITE="http://www.alsa-project.org/"
slaxemulator@14607 11 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
pankso@15946 12 HOST_ARCH="i486 arm"
pankso@15946 13
pankso@15946 14 DEPENDS="linux"
pankso@32 15
pascal@24066 16 current_version()
pascal@24066 17 {
pascal@24066 18 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
pascal@24066 19 sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q'
pascal@24066 20 }
pascal@24066 21
pankso@32 22 # Rules to configure and make the package.
pankso@32 23 compile_rules()
pankso@32 24 {
slaxemulator@10047 25 ./configure --disable-python \
slaxemulator@10047 26 $CONFIGURE_ARGS &&
gokhlayeh@8230 27 make && make -j1 install
pankso@32 28 }
pankso@32 29
pankso@32 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 31 genpkg_rules()
pankso@32 32 {
admin@13548 33 # Enable software mixing for multiple audio streams
admin@13548 34 mkdir -p $fs/etc
admin@13548 35 cp $stuff/asound.conf $fs/etc
pankso@32 36 mkdir -p $fs/usr/lib $fs/usr/share
pankso@13345 37 cp -a $install/usr/bin $fs/usr
pankso@13345 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@13345 39 cp -a $install/usr/share/alsa $fs/usr/share
pankso@32 40 }
pankso@32 41