void-packages/srcpkgs/sniproxy/template

24 lines
646 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"
pre_configure() {
autoreconf -fi
}
post_install() {
vconf $pkgname.conf
}