CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
openbox: initial import (verified compilation)
[attic/ports/opt-cross.git] / alsa-utils / Pkgfile
1 # Description: ALSA utils
2 # URL: http://www.alsa-project.org
3 # Maintainer: Tilman Sauerbeck, tilman at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: alsa-lib dialog
6
7 name=alsa-utils
8 version=1.0.23
9 release=1
10 source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \
11 rc.alsa)
12
13 build() {
14 cd $name-$version
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --mandir=/usr/man \
19 --disable-nls
20
21 # alsactl_init.7 is generated using xmlto, which we don't have
22 touch alsactl/alsactl_init.7
23
24 make
25 make DESTDIR=$PKG install
26 rm -rf $PKG/usr/share $PKG/usr/man/fr
27
28 # see above
29 rm -f $PKG/usr/man/man7/alsactl_init.7
30 rmdir $PKG/usr/man/man7
31
32 install -D -m 0755 $SRC/rc.alsa $PKG/etc/rc.d/alsa
33 }