wok-current view alsa-utils/receipt @ rev 895

slitaz-boot-script: post installl comd to change hacker id/group to 1000
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jun 10 16:54:11 2008 +0200 (2008-06-10)
parents eb4e6a1af180
children da22f3822867
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"
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
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 touch $_pkg/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 }