void-packages/srcpkgs/hitch/template
Đoàn Trần Công Danh 8d29a79c49 hitch: stop breaking masterdir
With grep in checkdepends, xbps-src will remove it on do_clean, which
will remove base_chroot.
2021-01-05 06:40:27 +07:00

35 lines
828 B
Bash

# Template file for 'hitch'
pkgname=hitch
version=1.5.2
revision=2
build_style=gnu-configure
configure_args="ac_cv_so_reuseport_works=yes ac_cv_so_tfo=yes"
hostmakedepends="pkg-config automake"
makedepends="libev-devel libressl-devel"
checkdepends="lsof curl"
short_desc="Libev-based high performance SSL/TLS proxy"
maintainer="Jannis Christ <hello@jannis.ovh>"
license="BSD-2-Clause"
homepage="https://hitch-tls.org/"
distfiles="https://hitch-tls.org/source/hitch-${version}.tar.gz"
checksum=b1a4fd64584cd4ff816b8513ee5522db34a4431747057421b6e870f722c6dfda
system_accounts="_hitch"
CFLAGS="-fcommon"
post_patch() {
vsed -i -e "s/grep -Pq/grep -q/" -e 's/\\t/\t/' \
src/tests/test32-proxy-authority.sh
}
pre_configure() {
autoreconf -fi
}
post_install() {
vman hitch.8
vman hitch.conf.5
vlicense LICENSE
vsv hitch
}