wok view alsa-lib/receipt @ rev 25066

updated alsa-lib, alsa-lib-dev and alsa-utils (1.2.2 -> 1.2.7)
author Hans-G?nter Theisgen
date Fri Jun 10 13:35:13 2022 +0100 (23 months ago)
parents 68cf96abc146
children 26ca23936f62
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-lib"
4 VERSION="1.2.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound libraries."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.alsa-project.org/wiki/Main_Page"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
14 DEPENDS="linux"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
21 sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --disable-python \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 # Enable software mixing for multiple audio streams
38 mkdir -p $fs/etc
39 cp $stuff/asound.conf $fs/etc
41 mkdir -p $fs/usr/lib
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/bin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/share/alsa $fs/usr/share
47 }