wok-4.x view alsa-lib/receipt @ rev 12375
Fix missing build-depends nux-module-headers
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Jan 24 10:27:57 2013 +0100 (2013-01-24) |
parents | 017dbd79b172 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-lib"
4 VERSION="1.0.24.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound libraries."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.alsa-project.org/"
11 WGET_URL="http://mirrors.zerg.biz/alsa/lib/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --disable-python \
18 $CONFIGURE_ARGS &&
19 make && make -j1 install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 # Enable software mixing for multiple audio streams
26 mkdir -p $fs/etc
27 cp $stuff/asound.conf $fs/etc
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/alsa-lib $fs/usr/lib
32 cp -a $_pkg/usr/share/alsa $fs/usr/share
33 rm $fs/usr/lib/alsa-lib/smixer/*.*a
34 }