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

Up: pycairo* (1.8.2)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Jan 02 10:00:03 2010 +0100 (2010-01-02)
parents 4848fe4259a4
children 33ca7f2d4b6a
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-utils"
4 VERSION="1.0.21"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound system utilities et config tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib ncurses util-linux-ng-getopt"
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 \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --disable-xmlto \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr $fs/etc
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/sbin $fs/usr
35 touch $fs/etc/asound.state
36 chmod 755 $fs/usr/sbin/*
37 # Remove speaker-test (18 Ko and needs sounds)
38 rm $fs/usr/bin/speaker-test
39 # For conf we need /var/tmp
40 mkdir -p $fs/var/tmp
41 chmod 1777 $fs/var/tmp
42 # Remove alsaconf (use soundconf).
43 rm $fs/usr/sbin/alsaconf
44 }