wok view alsa-lib/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
parents | 26ca23936f62 |
children |
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 SUGGESTED="alsa-ucm-conf"
15 DEPENDS="linux"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://www.alsa-project.org/wiki/Download 2>/dev/null | \
23 sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --disable-python \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 # Enable software mixing for multiple audio streams
40 mkdir -p $fs/etc
41 cp $stuff/asound.conf $fs/etc
43 mkdir -p $fs/usr/lib
44 mkdir -p $fs/usr/share
46 cp -a $install/usr/bin $fs/usr
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/share/alsa $fs/usr/share
49 }