void-packages/srcpkgs/alsa-utils/template

25 lines
861 B
Bash
Raw Normal View History

# Template build file for 'alsa-utils'.
pkgname=alsa-utils
2015-02-27 10:10:41 +01:00
version=1.0.29
revision=3
build_pie=yes
build_style=gnu-configure
configure_args="--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
hostmakedepends="pkg-config xmlto"
makedepends="ncurses-devel alsa-lib-devel libsamplerate-devel"
2015-02-27 10:10:41 +01:00
depends="alsa-lib>=${version}"
make_dirs="/var/lib/alsa 0750 root root"
2015-02-27 10:10:41 +01:00
short_desc="The Advanced Linux Sound Architecture (ALSA) utilities"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.alsa-project.org"
license="GPL-2"
2012-07-09 23:01:40 +02:00
distfiles="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$version.tar.bz2"
2015-02-27 10:10:41 +01:00
checksum=5160058f3e14483ced5de919dd473f93932059454530a9b7ef97dcabd6833e9b
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
2014-10-13 12:14:31 +02:00
vsv alsa
}