wok-stable view alsa-utils/receipt @ rev 3039

Add aaphoto (cli photo adjustment)
author Rohit Joshi <jozee@slitaz.org>
date Tue May 12 13:19:07 2009 +0000 (2009-05-12)
parents 69664636fac8
children 4848fe4259a4
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 ./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) + Getopt precomp needed by soundconf.
43 rm $fs/usr/sbin/alsaconf
44 install -g root -o root -m 0755 stuff/getopt $fs/usr/bin
45 }