void-packages/srcpkgs/stunnel/template

21 lines
660 B
Bash

# Template file for 'stunnel'
pkgname=stunnel
version=5.16
revision=1
build_style=gnu-configure
build_pie=yes
configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr"
makedepends="libressl-devel"
short_desc="SSL encryption wrapper"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="https://www.stunnel.org/"
distfiles="https://www.stunnel.org/downloads/$pkgname-$version.tar.gz"
checksum=b6b7e93fb2626eaabae1c8474e1dfa23962cfde8fa35c8602289fcaa4f53608d
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
}