wok annotate alsa-plugins/receipt @ rev 11573
Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | 33ca7f2d4b6a |
children | 6611fa233b1e |
rev | line source |
---|---|
pankso@256 | 1 # SliTaz package receipt. |
pankso@256 | 2 |
pankso@256 | 3 PACKAGE="alsa-plugins" |
devl547@5664 | 4 VERSION="1.0.23" |
pankso@256 | 5 CATEGORY="multimedia" |
pankso@256 | 6 SHORT_DESC="Alsa sound system additionnal plugins." |
pankso@256 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@2491 | 8 DEPENDS="alsa-lib libsamplerate" |
pascal@1447 | 9 BUILD_DEPENDS="pkg-config alsa-lib-dev" |
pankso@256 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@256 | 11 WEB_SITE="http://www.alsa-project.org/" |
pankso@256 | 12 WGET_URL="ftp://ftp.alsa-project.org/pub/plugins/$TARBALL" |
pankso@256 | 13 |
pankso@256 | 14 # Rules to configure and make the package. |
pankso@256 | 15 compile_rules() |
pankso@256 | 16 { |
pankso@256 | 17 cd $src |
pankso@256 | 18 ./configure \ |
pankso@256 | 19 --prefix=/usr \ |
pascal@1447 | 20 $CONFIGURE_ARGS && |
pascal@1447 | 21 make && |
gokhlayeh@8611 | 22 make -j1 DESTDIR=$PWD/_pkg install |
pankso@256 | 23 } |
pankso@256 | 24 |
pankso@256 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@256 | 26 genpkg_rules() |
pankso@256 | 27 { |
pankso@256 | 28 mkdir -p $fs/usr/lib/alsa-lib |
pankso@256 | 29 cp -a $_pkg/usr/lib/alsa-lib/*.so $fs/usr/lib/alsa-lib |
pankso@256 | 30 } |
pankso@256 | 31 |