wok-4.x view alsa-utils/receipt @ rev 1568
Add: Obmenu (Openbox Menu Editor)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Oct 13 22:10:10 2008 +0000 (2008-10-13) |
parents | da22f3822867 |
children | 4da89e6150fe |
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr $fs/etc
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/sbin $fs/usr
30 touch $fs/etc/asound.state
31 chmod 755 $fs/usr/sbin/*
33 # Remove speaker-test (18 Ko and needs sounds)
34 rm $fs/usr/bin/speaker-test
36 # For conf we need /var/tmp
37 mkdir -p $fs/var/tmp
38 chmod 1777 $fs/var/tmp
40 # Remove alsaconf (use soundconf) + Getopt precomp needed by soundconf.
41 rm $fs/usr/sbin/alsaconf
42 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
43 }