wok-current view alsa-utils/receipt @ rev 142
UP : grsync (0.6.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 21 14:27:22 2008 +0100 (2008-01-21) |
parents | |
children | 4959e5789caa |
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"
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/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 chmod 755 $fs/usr/sbin/*
30 cp -a $_pkg/usr/share/alsa $fs/usr/share
32 # For conf we need /var/tmp
33 mkdir -p $fs/var/tmp
34 chmod 1777 $fs/var/tmp
36 # Strip me this and remove alsaconf (use soundconf).
37 strip -s $fs/usr/bin/*
38 rm $fs/usr/sbin/alsaconf
39 strip -s $fs/usr/sbin/*
41 # Getopt precomp needed by alsaconf (and change /bin/bash to sh :
42 # do not work, we need Bash or modify alsaconf).
43 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
44 }