26 lines
894 B
Bash
26 lines
894 B
Bash
# Template build file for 'alsa-utils'.
|
|
pkgname=alsa-utils
|
|
version=1.1.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-udev-rules-dir=/usr/lib/udev/rules.d --disable-alsaconf
|
|
--with-alsactl-lock-dir=/run/lock"
|
|
hostmakedepends="pkg-config xmlto"
|
|
makedepends="ncurses-devel alsa-lib-devel libsamplerate-devel fftw-devel"
|
|
depends="alsa-lib>=${version}"
|
|
make_dirs="/var/lib/alsa 0750 root root"
|
|
short_desc="The Advanced Linux Sound Architecture (ALSA) utilities"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://www.alsa-project.org"
|
|
license="GPL-2"
|
|
distfiles="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$version.tar.bz2"
|
|
checksum=320bd285e91db6e7fd7db3c9ec6f55b02f35449ff273c7844780ac6a5a3de2e8
|
|
|
|
|
|
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
|
|
vsv alsa
|
|
}
|