vp-build/srcpkgs/sniproxy/template

24 lines
672 B
Bash

# Template file for 'sniproxy'
pkgname=sniproxy
version=0.5.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.eu>"
license="GPL-3"
homepage="https://github.com/dlundquist/$pkgname"
distfiles="$homepage/archive/$version.tar.gz"
checksum=0b8dd06f9aa9e1c4151b572caf645ffceacdd35a139ded16a7fb0035452c17e5
configure_args="--sbindir=/usr/bin"
conf_files="/etc/$pkgname.conf"
pre_configure() {
autoreconf -fi
}
post_install() {
vconf $pkgname.conf
}