vp-build/srcpkgs/alsa-utils/template

36 lines
1.0 KiB
Plaintext

# Template build file for 'alsa-utils'.
pkgname=alsa-utils
version=1.0.24.2
revision=2
distfiles="ftp://ftp.alsa-project.org/pub/utils/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--with-systemdsystemunitdir=/lib/systemd/system"
short_desc="The Advanced Linux Sound Architecture (ALSA) utils"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.alsa-project.org"
license="GPL-2"
checksum=95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5ac1be2
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
"
openrc_services="alsamixer default true"
Add_dependency run alsa-lib
Add_dependency run glibc
Add_dependency run ncurses-libs
Add_dependency build pkg-config
Add_dependency build alsa-lib-devel
Add_dependency build gettext
Add_dependency build xmlto
post_install()
{
# OpenRC service to save/restore mixer settings.
vinstall ${FILESDIR}/alsamixer.rc 755 etc/init.d alsamixer
}