wok view alsa-utils/receipt @ rev 972
Up: freetype (2.3.7)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 30 12:17:40 2008 +0200 (2008-06-30) |
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 }