wok view alsa-utils/receipt @ rev 336
Openvpn: add directories
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 05 09:05:47 2008 +0000 (2008-03-05) |
parents | bae29dce2c6f |
children | eb4e6a1af180 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-utils"
4 VERSION="1.0.16"
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"
12 JWM_MENU='Multimedia:<Program icon="audio-card.png" label="Alsamixer">xterm -bg black -fg white -e alsamixer</Program>'
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
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 }