alsa-utils: added systemd build option.

This commit is contained in:
Juan RP 2014-08-20 11:50:42 +02:00
parent b3bed082b7
commit 43f4e9b00b
1 changed files with 8 additions and 3 deletions

View File

@ -1,10 +1,9 @@
# Template build file for 'alsa-utils'.
pkgname=alsa-utils
version=1.0.28
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 -disable-alsaconf"
configure_args="--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
hostmakedepends="pkg-config xmlto"
makedepends="ncurses-devel alsa-lib-devel>=1.0.28 libsamplerate-devel"
depends="alsa-lib>=1.0.28"
@ -16,6 +15,12 @@ license="GPL-2"
distfiles="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$version.tar.bz2"
checksum=f3ff4c89b0125a7797b1b13cd094cc92276e655458274967386e812d03642acc
build_options="systemd"
if [ "$build_option_systemd" ]; then
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
fi
post_install() {
# Install required udev rules file.
make -C alsactl 90-alsa-restore.rules