wok-6.x view alsa-utils/receipt @ rev 3015

Up: Xvesa and others and add xorg-server-tinyX (use server 1.5.3)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 11 22:34:28 2009 +0200 (2009-05-11)
parents 7a436db659a4
children 1d5cffc23ba7
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-utils"
4 VERSION="1.0.20"
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
19 # Remove xmlto dependency
20 #patch -p1 -i ../stuff/alsactl-no-xmlto.patch &&
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr $fs/etc
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/sbin $fs/usr
36 touch $fs/etc/asound.state
37 chmod 755 $fs/usr/sbin/*
38 # Remove speaker-test (18 Ko and needs sounds)
39 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
43 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
44 rm $fs/usr/sbin/alsaconf
45 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
46 }