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

netatalk: do not link pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 10 16:33:24 2009 +0000 (2009-04-10)
parents c12b18c9fc29
children 69664636fac8
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-utils"
4 VERSION="1.0.18"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound system utilities et config tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib ncurses"
9 BUILD_DEPENDS="alsa-lib alsa-lib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.alsa-project.org/"
12 WGET_URL="ftp://ftp.alsa-project.org/pub/utils/$TARBALL"
13 CONFIG_FILES="/etc/asound.state"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
20 # Remove xmlto dependency
21 patch -p1 -i ../stuff/alsactl-no-xmlto.patch &&
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr $fs/etc
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 touch $fs/etc/asound.state
35 chmod 755 $fs/usr/sbin/*
37 # Remove speaker-test (18 Ko and needs sounds)
38 rm $fs/usr/bin/speaker-test
40 # For conf we need /var/tmp
41 mkdir -p $fs/var/tmp
42 chmod 1777 $fs/var/tmp
44 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
45 rm $fs/usr/sbin/alsaconf
46 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
47 }