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

cups: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 08 13:49:47 2008 +0000 (2008-11-08)
parents 04d6abcf6d15
children 2644b287815c
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-utils"
4 VERSION="1.0.17"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound system utilities et config tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib"
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
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 touch $fs/etc/asound.state
32 chmod 755 $fs/usr/sbin/*
34 # Remove speaker-test (18 Ko and needs sounds)
35 rm $fs/usr/bin/speaker-test
37 # For conf we need /var/tmp
38 mkdir -p $fs/var/tmp
39 chmod 1777 $fs/var/tmp
41 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
42 rm $fs/usr/sbin/alsaconf
43 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
44 }