wok-4.x view alsa-lib/receipt @ rev 8301

Fix: shared-mime-info now take care of --root= option
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 01 02:50:01 2011 +0100 (2011-02-01)
parents 33ca7f2d4b6a
children 200db0c149ba
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-lib"
4 VERSION="1.0.23"
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="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --disable-python &&
18 make && make -j1 install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib $fs/usr/share
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
27 cp -a $_pkg/usr/lib/alsa-lib $fs/usr/lib
28 cp -a $_pkg/usr/share/alsa $fs/usr/share
29 rm $fs/usr/lib/alsa-lib/smixer/*.*a
30 }