void-packages/srcpkgs/alsa-utils/template

29 lines
972 B
Text
Raw Normal View History

# Template build file for 'alsa-utils'.
pkgname=alsa-utils
2014-06-18 06:06:51 +00:00
version=1.0.28
revision=2
build_style=gnu-configure
configure_args="--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
hostmakedepends="pkg-config xmlto"
2014-06-18 06:06:51 +00:00
makedepends="ncurses-devel alsa-lib-devel>=1.0.28 libsamplerate-devel"
depends="alsa-lib>=1.0.28"
make_dirs="/var/lib/alsa 0750 root root"
short_desc="The Advanced Linux Sound Architecture (ALSA) utils"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.alsa-project.org"
license="GPL-2"
2012-07-09 21:01:40 +00:00
distfiles="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$version.tar.bz2"
2014-06-18 06:06:51 +00:00
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
vinstall alsactl/90-alsa-restore.rules 644 usr/lib/udev/rules.d
}