2015-03-08 22:10:21 +01:00
|
|
|
# Template file for 'aucatctl'
|
|
|
|
pkgname=aucatctl
|
|
|
|
version=0.1
|
2016-02-15 13:06:26 +01:00
|
|
|
revision=3
|
2015-03-08 22:10:21 +01:00
|
|
|
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
|
|
|
|
|
2016-02-15 13:06:26 +01:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
*-musl) ;;
|
|
|
|
*)
|
|
|
|
# strlcat
|
|
|
|
makedepends+=" libbsd-devel"
|
|
|
|
make_build_args="LDADD=-lbsd LDADD+=-lsndio"
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2015-03-08 22:10:21 +01:00
|
|
|
post_install() {
|
|
|
|
sed -n '/Copyright/,/PERFORMANCE/p' <aucatctl.c >LICENSE
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|