mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
aucatctl: restore strlcat hacks.
This commit is contained in:
parent
6350c61c1d
commit
f87c5d7919
1 changed files with 10 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'aucatctl'
|
# Template file for 'aucatctl'
|
||||||
pkgname=aucatctl
|
pkgname=aucatctl
|
||||||
version=0.1
|
version=0.1
|
||||||
revision=6
|
revision=7
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_install_args="MAN1_DIR=/usr/share/man/man1"
|
make_install_args="MAN1_DIR=/usr/share/man/man1"
|
||||||
makedepends="sndio-devel"
|
makedepends="sndio-devel"
|
||||||
|
@ -12,6 +12,15 @@ homepage="http://www.sndio.org/"
|
||||||
distfiles="http://www.sndio.org/${pkgname}-${version}.tar.gz"
|
distfiles="http://www.sndio.org/${pkgname}-${version}.tar.gz"
|
||||||
checksum=524f2fae47db785234f166551520d9605b9a27551ca438bd807e3509ce246cf0
|
checksum=524f2fae47db785234f166551520d9605b9a27551ca438bd807e3509ce246cf0
|
||||||
|
|
||||||
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
*-musl) ;;
|
||||||
|
*)
|
||||||
|
# strlcat
|
||||||
|
makedepends+=" libbsd-devel"
|
||||||
|
make_build_args="LDADD=-lbsd LDADD+=-lsndio"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
sed -n '/Copyright/,/PERFORMANCE/p' <aucatctl.c >LICENSE
|
sed -n '/Copyright/,/PERFORMANCE/p' <aucatctl.c >LICENSE
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Reference in a new issue