wok-6.x view alsa-lib/receipt @ rev 19701
Up: slitaz-tools and slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 14 12:11:41 2017 +0100 (2017-02-14) |
parents | a73d738315e8 |
children | 0644ee05ddc4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-lib"
4 VERSION="1.0.27.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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --disable-python \
20 $CONFIGURE_ARGS &&
21 make && make -j1 install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 # Enable software mixing for multiple audio streams
28 mkdir -p $fs/etc
29 cp $stuff/asound.conf $fs/etc
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 cp -a $install/usr/lib/alsa-lib $fs/usr/lib
34 cp -a $install/usr/share/alsa $fs/usr/share
35 rm $fs/usr/lib/alsa-lib/smixer/*.*a
36 }