wok annotate alsa-lib/receipt @ rev 4421
mesa: split dri driver (mesa-dri-*) and + mesa-demo
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Oct 25 17:27:55 2009 +0100 (2009-10-25) |
parents | 69664636fac8 |
children | 33ca7f2d4b6a |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="alsa-lib" |
pankso@4016 | 4 VERSION="1.0.21" |
pankso@177 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="Alsa sound libraries." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@54 | 8 DEPENDS="linux" |
pankso@32 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@32 | 10 WEB_SITE="http://www.alsa-project.org/" |
pankso@32 | 11 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL" |
pankso@32 | 12 |
pankso@32 | 13 # Rules to configure and make the package. |
pankso@32 | 14 compile_rules() |
pankso@32 | 15 { |
pankso@32 | 16 cd $src |
pankso@256 | 17 ./configure \ |
pankso@256 | 18 --prefix=/usr \ |
pankso@256 | 19 --disable-python \ |
pankso@256 | 20 $CONFIGURE_ARGS |
pankso@32 | 21 make |
pankso@32 | 22 make DESTDIR=$PWD/_pkg install |
pankso@32 | 23 } |
pankso@32 | 24 |
pankso@32 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 26 genpkg_rules() |
pankso@32 | 27 { |
pankso@32 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@32 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@32 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@32 | 31 cp -a $_pkg/usr/lib/alsa-lib $fs/usr/lib |
pankso@32 | 32 cp -a $_pkg/usr/share/alsa $fs/usr/share |
pankso@32 | 33 rm $fs/usr/lib/alsa-lib/smixer/*.*a |
pankso@32 | 34 } |
pankso@32 | 35 |