void-packages/srcpkgs/sniproxy/template

34 lines
933 B
Bash

# Template file for 'sniproxy'
pkgname=sniproxy
version=0.6.1
revision=1
build_style=gnu-configure
configure_args="--enable-dns"
hostmakedepends="automake libtool autoconf pkg-config udns-devel gettext-devel"
makedepends="libev-devel pcre-devel"
checkdepends="curl perl"
short_desc="Proxies incoming HTTP and TLS connections based on the hostname"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="BSD-2-Clause"
homepage="https://github.com/dlundquist/sniproxy"
changelog="https://raw.githubusercontent.com/dlundquist/sniproxy/master/ChangeLog"
distfiles="https://github.com/dlundquist/sniproxy/archive/${version}.tar.gz"
checksum=6a06d12bedcbd5295a2c75d60a9df1cfde9e26efa31f44a34979b5cb8fb0bc1a
conf_files="/etc/sniproxy.conf"
CFLAGS="-fcommon"
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-legacy-compat"
fi
pre_configure() {
autoreconf -fi
}
post_install() {
vconf sniproxy.conf
vlicense COPYING
}