void-packages/srcpkgs/sndio/template

33 lines
851 B
Bash
Raw Normal View History

2015-03-08 21:09:28 +00:00
# Template file for 'sndio'
pkgname=sndio
2015-08-31 10:01:49 +00:00
version=1.0.1
2015-03-08 21:09:28 +00:00
revision=1
build_style=configure
configure_args="--prefix=/usr"
2015-08-29 14:26:06 +00:00
makedepends="alsa-lib-devel"
2015-03-08 21:09:28 +00:00
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"
build_pie=yes
2015-07-16 21:15:14 +00:00
homepage="http://www.sndio.org/"
distfiles="http://www.sndio.org/${pkgname}-${version}.tar.gz"
2015-08-31 10:01:49 +00:00
checksum=95591fbcb3faaebb0ce023f1c95d6809a506269758d57b700d9549322eaef702
2015-03-08 21:09:28 +00:00
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"
}
}