wok-4.x view alsa-utils/receipt @ rev 153
Add JWM_MENU infos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 19:03:45 2008 +0100 (2008-01-26) |
parents | a7cb804c8e95 |
children | 16e4ef87e466 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-utils"
4 VERSION="1.0.15"
5 CATEGORY="extra"
6 SHORT_DESC="Alsa sound system utilities et config tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib bash"
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/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 chmod 755 $fs/usr/sbin/*
31 cp -a $_pkg/usr/share/alsa $fs/usr/share
33 # For conf we need /var/tmp
34 mkdir -p $fs/var/tmp
35 chmod 1777 $fs/var/tmp
37 # Strip me this and remove alsaconf (use soundconf).
38 strip -s $fs/usr/bin/*
39 rm $fs/usr/sbin/alsaconf
40 strip -s $fs/usr/sbin/*
42 # Getopt precomp needed by alsaconf (and change /bin/bash to sh :
43 # do not work, we need Bash or modify alsaconf).
44 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
45 }