alsa: install required udev rules file.

This commit is contained in:
Juan RP 2013-05-26 21:08:04 +02:00
parent 7b2a3cdb98
commit cd9b54f0dd

View file

@ -1,10 +1,10 @@
# Template build file for 'alsa-utils'.
pkgname=alsa-utils
version=1.0.27.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-systemdsystemunitdir=/usr/lib/systemd/system
--with-udev-rules-dir=/usr/lib/udev/rules.d"
--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
hostmakedepends="pkg-config xmlto"
makedepends="ncurses-devel alsa-lib-devel>=1.0.27 libsamplerate-devel"
short_desc="The Advanced Linux Sound Architecture (ALSA) utils"
@ -19,6 +19,12 @@ long_desc="
This package includes the ALSA runtime utilities."
post_install() {
# Install required udev rules file.
make -C alsactl 90-alsa-restore.rules
vinstall alsactl/90-alsa-restore.rules 644 usr/lib/udev/rules.d
}
alsa-utils_package() {
# Needs snd_pcm_abort() from >= 1.0.27.
depends="alsa-lib>=1.0.27"