wok-next annotate alsa-lib/receipt @ rev 15207
Add mktorrent
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 10 12:15:52 2013 +0000 (2013-09-10) |
parents | 2ceee1891179 |
children | a73d738315e8 |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="alsa-lib" |
slaxemulator@14607 | 4 VERSION="1.0.27.1" |
pankso@177 | 5 CATEGORY="multimedia" |
pankso@32 | 6 SHORT_DESC="Alsa sound libraries." |
pankso@32 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
pankso@54 | 9 DEPENDS="linux" |
pankso@32 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@32 | 11 WEB_SITE="http://www.alsa-project.org/" |
slaxemulator@14607 | 12 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL" |
pankso@32 | 13 |
pankso@32 | 14 # Rules to configure and make the package. |
pankso@32 | 15 compile_rules() |
pankso@32 | 16 { |
pankso@32 | 17 cd $src |
slaxemulator@10047 | 18 ./configure --disable-python \ |
slaxemulator@10047 | 19 $CONFIGURE_ARGS && |
gokhlayeh@8230 | 20 make && make -j1 install |
pankso@32 | 21 } |
pankso@32 | 22 |
pankso@32 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@32 | 24 genpkg_rules() |
pankso@32 | 25 { |
admin@13548 | 26 # Enable software mixing for multiple audio streams |
admin@13548 | 27 mkdir -p $fs/etc |
admin@13548 | 28 cp $stuff/asound.conf $fs/etc |
pankso@32 | 29 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@13345 | 30 cp -a $install/usr/bin $fs/usr |
pankso@13345 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@13345 | 32 cp -a $install/usr/lib/alsa-lib $fs/usr/lib |
pankso@13345 | 33 cp -a $install/usr/share/alsa $fs/usr/share |
pankso@32 | 34 rm $fs/usr/lib/alsa-lib/smixer/*.*a |
pankso@32 | 35 } |
pankso@32 | 36 |