void-packages/srcpkgs/sndio/template

32 lines
837 B
Bash

# Template file for 'sndio'
pkgname=sndio
version=1.1.0
revision=1
build_style=configure
configure_args="--prefix=/usr"
makedepends="alsa-lib-devel"
short_desc="Small audio and MIDI framework part of the OpenBSD project"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="ISC"
system_accounts="sndiod"
sndiod_descr="sndio daemon"
homepage="http://www.sndio.org/"
distfiles="http://www.sndio.org/${pkgname}-${version}.tar.gz"
checksum=fcd7f845ff70f38c2898d737450b8aa3e1bb0afb9d147e8429ef22c0b2c2db57
post_install() {
vsv sndiod
sed -n '/Copyright/,/PERFORMANCE/p' <sndiod/sndiod.c >LICENSE
vlicense LICENSE
}
sndio-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/share/man/man3/*.3"
vmove "usr/lib/*.so"
}
}