void-packages/srcpkgs/sniproxy/template
Jürgen Buchmüller 17eee28798 sniproxy: needs -fcommon for gcc10
[ci skip]
2020-08-28 18:25:40 +02:00

29 lines
747 B
Bash

# Template file for 'sniproxy'
pkgname=sniproxy
version=0.6.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool autoconf pkg-config udns-devel gettext-devel"
makedepends="libev-devel pcre-devel"
short_desc="Proxies incoming HTTP and TLS connections based on the hostname"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3"
homepage="https://github.com/dlundquist/${pkgname}"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=d73c77a9fa8199ae7ac551c0332d3e0a3ff234623f53d65369a8fa560d9880e2
conf_files="/etc/${pkgname}.conf"
CFLAGS="-fcommon"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_configure() {
autoreconf -fi
}
post_install() {
vconf $pkgname.conf
}