2011-07-13 07:09:11 +02:00
|
|
|
# Template build file for 'alsa-utils'.
|
|
|
|
pkgname=alsa-utils
|
2014-06-18 08:06:51 +02:00
|
|
|
version=1.0.28
|
2014-08-20 11:50:42 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-08-20 11:50:42 +02:00
|
|
|
configure_args="--with-udev-rules-dir=/usr/lib/udev/rules.d -disable-alsaconf"
|
2013-03-24 12:14:37 +01:00
|
|
|
hostmakedepends="pkg-config xmlto"
|
2014-06-18 08:06:51 +02:00
|
|
|
makedepends="ncurses-devel alsa-lib-devel>=1.0.28 libsamplerate-devel"
|
|
|
|
depends="alsa-lib>=1.0.28"
|
2014-01-01 16:10:11 +01:00
|
|
|
make_dirs="/var/lib/alsa 0750 root root"
|
2011-07-13 07:09:11 +02:00
|
|
|
short_desc="The Advanced Linux Sound Architecture (ALSA) utils"
|
2011-07-17 08:27:36 +02:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-13 07:09:11 +02:00
|
|
|
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"
|
2014-06-18 08:06:51 +02:00
|
|
|
checksum=f3ff4c89b0125a7797b1b13cd094cc92276e655458274967386e812d03642acc
|
2013-04-12 08:55:23 +02:00
|
|
|
|
2014-08-20 11:50:42 +02:00
|
|
|
build_options="systemd"
|
|
|
|
|
|
|
|
if [ "$build_option_systemd" ]; then
|
|
|
|
configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
|
|
|
fi
|
|
|
|
|
2013-05-26 21:08:04 +02:00
|
|
|
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
|
|
|
|
}
|