wok-6.x view alsa-utils/receipt @ rev 5980
busybox: add ed
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 13 10:07:38 2010 +0200 (2010-08-13) |
parents | 3d28df5bcf95 |
children | b4844ead83a1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-utils"
4 VERSION="1.0.23"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa sound system utilities et config tools."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="alsa-lib ncurses util-linux-ng-getopt"
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).
43 rm $fs/usr/sbin/alsaconf
44 }