wok annotate alsa-utils/receipt @ rev 889

Up: mtpaint (3.21)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Jun 09 10:23:31 2008 +0200 (2008-06-09)
parents eb4e6a1af180
children da22f3822867
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="alsa-utils"
pankso@256 4 VERSION="1.0.16"
pankso@177 5 CATEGORY="multimedia"
pankso@32 6 SHORT_DESC="Alsa sound system utilities et config tools."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@231 8 DEPENDS="alsa-lib"
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/utils/$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@32 17 ./configure --prefix=/usr --infodir=/usr/share/info \
pankso@32 18 --mandir=/usr/share/man $CONFIGURE_ARGS
pankso@32 19 make
pankso@32 20 make DESTDIR=$PWD/_pkg 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 {
pankso@256 26 mkdir -p $fs/usr
pankso@32 27 cp -a $_pkg/usr/bin $fs/usr
pankso@32 28 cp -a $_pkg/usr/sbin $fs/usr
pascal@847 29 touch $_pkg/etc/asound.state
pankso@32 30 chmod 755 $fs/usr/sbin/*
pankso@256 31
pankso@256 32 # Remove speaker-test (18 Ko and needs sounds)
pankso@256 33 rm $fs/usr/bin/speaker-test
pankso@32 34
pankso@32 35 # For conf we need /var/tmp
pankso@32 36 mkdir -p $fs/var/tmp
pankso@32 37 chmod 1777 $fs/var/tmp
pankso@32 38
pankso@256 39 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
pankso@32 40 rm $fs/usr/sbin/alsaconf
pankso@32 41 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
pankso@32 42 }
pankso@32 43