CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gtklepin: cleaned up (added cross_compile patch)
[attic/ports/opt-cross.git] / alsa-utils / Pkgfile
CommitLineData
01a92d2c
VM
1# Description: ALSA utils
2# URL: http://www.alsa-project.org
3# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
38b50d66 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
01a92d2c
VM
5# Depends on: alsa-lib dialog
6
7name=alsa-utils
e79a7998 8version=1.0.23
01a92d2c
VM
9release=1
10source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \
11 rc.alsa)
12
13build() {
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}