void-packages/srcpkgs/alsa-utils/template

36 lines
1.1 KiB
Plaintext

# Template build file for 'alsa-utils'.
pkgname=alsa-utils
version=1.0.27.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"
hostmakedepends="pkg-config xmlto"
makedepends="ncurses-devel alsa-lib-devel>=1.0.27 libsamplerate-devel"
short_desc="The Advanced Linux Sound Architecture (ALSA) utils"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.alsa-project.org"
license="GPL-2"
distfiles="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$version.tar.bz2"
checksum=3de65a2fae0ce679027be24cf477935d901038fa8bf7056130ea368e449a9350
long_desc="
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system.
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"
make_dirs="/var/lib/alsa 0750 root root"
pkg_install() {
vmove all
}
}