void-packages/srcpkgs/stunnel/template

23 lines
755 B
Bash

# Template file for 'stunnel'
pkgname=stunnel
version=5.60
revision=1
build_style=gnu-configure
configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr"
hostmakedepends="perl"
makedepends="openssl-devel"
checkdepends="nmap procps-ng iproute2"
short_desc="SSL encryption wrapper"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.stunnel.org/"
changelog="https://www.stunnel.org/NEWS.html"
distfiles="https://www.stunnel.org/downloads/stunnel-${version}.tar.gz"
checksum=c45d765b1521861fea9b03b425b9dd7d48b3055128c0aec673bba5ef9b8f787d
post_install() {
rm ${DESTDIR}/usr/share/man/man8/stunnel.??.8
vsconf tools/stunnel.conf-sample
rm -r ${DESTDIR}/etc/stunnel ${DESTDIR}/usr/share/doc/stunnel
}