wok-stable view alsa-utils/receipt @ rev 592
Rename MesaLib* to mesa*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 17 09:36:57 2008 +0000 (2008-04-17) |
parents | 4f833a54f594 |
children | 54ec4b7ae767 |
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 chmod 755 $fs/usr/sbin/*
31 # Remove speaker-test (18 Ko and needs sounds)
32 rm $fs/usr/bin/speaker-test
34 # For conf we need /var/tmp
35 mkdir -p $fs/var/tmp
36 chmod 1777 $fs/var/tmp
38 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
39 rm $fs/usr/sbin/alsaconf
40 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
41 }