void-packages/srcpkgs/aucatctl/template
2016-02-15 13:06:26 +01:00

27 lines
712 B
Bash

# Template file for 'aucatctl'
pkgname=aucatctl
version=0.1
revision=3
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="Christian Neukirchen <chneukirchen@gmail.com>"
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
}