blob: d6956cb82f5ae28d13131033b7982d9169fa4b00 (
plain)
1 # Description: ALSA utils
2 # URL: http://www.alsa-project.org
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Depends on: gettext, alsa-lib, dialog
5
6 name=alsa-utils
7 version=1.0.24.2
8 release=1
9 source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \
10 rc.alsa)
11
12 build() {
13 cd $name-$version
14 ./configure --prefix=/usr --disable-nls --mandir=/usr/man
15
16 # alsactl_init.7 is generated using xmlto, which we don't have
17 touch alsactl/alsactl_init.7
18
19 make
20 make DESTDIR=$PKG install
21 rm -rf $PKG/usr/share $PKG/usr/man/fr
22
23 # see above
24 rm -f $PKG/usr/man/man7/alsactl_init.7
25 rmdir $PKG/usr/man/man7
26
27 install -D -m 0755 $SRC/rc.alsa $PKG/etc/rc.d/alsa
28
29 # Not sure about this yet.
30 rm $PKG/lib/udev/rules.d/90-alsa-restore.rules
31 rmdir $PKG/lib/udev/rules.d
32 rmdir $PKG/lib/udev
33 rmdir $PKG/lib
34 }
|