opt/alsa-utils/Pkgfile
2009-12-20 21:11:56 +01:00

29 lines
668 B
Plaintext

# Description: ALSA utils
# URL: http://www.alsa-project.org
# Maintainer: Tilman Sauerbeck, tilman at crux dot nu
# Depends on: gettext, alsa-lib, dialog
name=alsa-utils
version=1.0.22
release=1
source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \
rc.alsa)
build() {
cd $name-$version
./configure --prefix=/usr --disable-nls --mandir=/usr/man
# alsactl_init.7 is generated using xmlto, which we don't have
touch alsactl/alsactl_init.7
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share $PKG/usr/man/fr
# see above
rm -f $PKG/usr/man/man7/alsactl_init.7
rmdir $PKG/usr/man/man7
install -D -m 0755 $SRC/rc.alsa $PKG/etc/rc.d/alsa
}