wok-6.x view alsa-lib/receipt @ rev 24424
updated clex (4.6.patch9 -> 4.6.patch10)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 17:45:39 2022 +0100 (2022-02-11) |
parents | 0b02213fe0a1 |
children | 1931b321046f |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-lib"
4 VERSION="1.2.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound libraries."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.alsa-project.org/"
11 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="linux"
16 current_version()
17 {
18 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
19 sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --disable-python \
26 $CONFIGURE_ARGS &&
27 make && make -j1 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 # Enable software mixing for multiple audio streams
34 mkdir -p $fs/etc
35 cp $stuff/asound.conf $fs/etc
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/share/alsa $fs/usr/share
40 }