opt/alsa-utils/Pkgfile

35 lines
811 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: ALSA utils
# URL: http://www.alsa-project.org/
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Depends on: gettext, alsa-lib, dialog
2006-02-23 16:26:10 +01:00
name=alsa-utils
2012-09-07 18:36:44 +02:00
version=1.0.26
2007-06-06 19:05:38 +02:00
release=1
source=(ftp://ftp.alsa-project.org/pub/utils/$name-$version.tar.bz2 \
rc.alsa)
2006-02-23 16:26:10 +01:00
build() {
cd $name-$version
2007-06-06 19:05:38 +02:00
./configure --prefix=/usr --disable-nls --mandir=/usr/man
2008-10-31 18:31:11 +01:00
# alsactl_init.7 is generated using xmlto, which we don't have
touch alsactl/alsactl_init.7
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share $PKG/usr/man/fr
2008-10-31 18:31:11 +01:00
# 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
2011-04-16 10:50:19 +02:00
# Not sure about this yet.
rm $PKG/lib/udev/rules.d/90-alsa-restore.rules
rmdir $PKG/lib/udev/rules.d
rmdir $PKG/lib/udev
rmdir $PKG/lib
2006-02-23 16:26:10 +01:00
}