wok-6.x view alsa-lib/receipt @ rev 25107
Up open-iscsi (2.0.873)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 17:23:49 2022 +0000 (2022-06-22) |
parents | 1931b321046f |
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 current_version()
20 {
21 wget -O - ${WEB_SITE}wiki/Download 2>/dev/null | \
22 sed '/alsa-lib-/!d;s|.*alsa-lib-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --disable-python \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 # Enable software mixing for multiple audio streams
39 mkdir -p $fs/etc
40 cp $stuff/asound.conf $fs/etc
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/share/alsa $fs/usr/share
48 }