39 lines
943 B
Bash
39 lines
943 B
Bash
# Template file for 'sndio'
|
|
pkgname=sndio
|
|
version=1.5.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="Leah Neukirchen <leah@vuxu.org>"
|
|
license="ISC"
|
|
system_accounts="sndiod"
|
|
sndiod_descr="sndio daemon"
|
|
sndiod_pgroup="audio"
|
|
homepage="http://www.sndio.org/"
|
|
distfiles="http://www.sndio.org/${pkgname}-${version}.tar.gz"
|
|
checksum=12c70044749ad9cb7eaeb26c936816aa6b314fe4be71ef479d12272e4c5ad253
|
|
|
|
post_install() {
|
|
vsv sndiod
|
|
sed -n '/Copyright/,/PERFORMANCE/p' <sndiod/sndiod.c >LICENSE
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libsndio_package() {
|
|
short_desc+=" -- library"
|
|
pkg_install() {
|
|
vmove "usr/lib/libsndio.so.*"
|
|
}
|
|
}
|
|
sndio-devel_package() {
|
|
depends="libsndio>=${version}_${revision}"
|
|
short_desc+=" -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/share/man/man3/*.3"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|