wok-current view alsa-utils/receipt @ rev 1119
Add xruskb (keyboard switcher) - Need more X11 fonts
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jul 20 19:25:43 2008 +0200 (2008-07-20) |
parents | 54ec4b7ae767 |
children | 04d6abcf6d15 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-utils"
4 VERSION="1.0.17"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound system utilities et config tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.alsa-project.org/"
11 WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/etc
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 touch $fs/etc/asound.state
30 chmod 755 $fs/usr/sbin/*
32 # Remove speaker-test (18 Ko and needs sounds)
33 rm $fs/usr/bin/speaker-test
35 # For conf we need /var/tmp
36 mkdir -p $fs/var/tmp
37 chmod 1777 $fs/var/tmp
39 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
40 rm $fs/usr/sbin/alsaconf
41 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
42 }