void-packages/srcpkgs/aucatctl/template

28 lines
698 B
Bash

# Template file for 'aucatctl'
pkgname=aucatctl
version=0.1
revision=7
build_style=gnu-makefile
make_install_args="MAN1_DIR=/usr/share/man/man1"
makedepends="sndio-devel"
short_desc="Control aucat and/or sndiod volume through MIDI"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="http://www.sndio.org/"
distfiles="http://www.sndio.org/${pkgname}-${version}.tar.gz"
checksum=524f2fae47db785234f166551520d9605b9a27551ca438bd807e3509ce246cf0
case "$XBPS_TARGET_MACHINE" in
*-musl) ;;
*)
# strlcat
makedepends+=" libbsd-devel"
make_build_args="LDADD=-lbsd LDADD+=-lsndio"
;;
esac
post_install() {
sed -n '/Copyright/,/PERFORMANCE/p' <aucatctl.c >LICENSE
vlicense LICENSE
}