wok view alsa-lib/receipt @ rev 15894

libnl: remove devel files (save space on ISO)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 12 22:53:55 2014 +0100 (2014-02-12)
parents 2ceee1891179
children a73d738315e8
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-lib"
4 VERSION="1.0.27.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound libraries."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 DEPENDS="linux"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.alsa-project.org/"
12 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --disable-python \
19 $CONFIGURE_ARGS &&
20 make && make -j1 install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 # Enable software mixing for multiple audio streams
27 mkdir -p $fs/etc
28 cp $stuff/asound.conf $fs/etc
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 cp -a $install/usr/lib/alsa-lib $fs/usr/lib
33 cp -a $install/usr/share/alsa $fs/usr/share
34 rm $fs/usr/lib/alsa-lib/smixer/*.*a
35 }