void-packages/srcpkgs/stunnel/template
2015-10-09 14:28:55 +02:00

22 lines
713 B
Bash

# Template file for 'stunnel'
pkgname=stunnel
version=5.24
revision=1
build_style=gnu-configure
build_pie=yes
configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr"
CFLAGS="-DOPENSSL_NO_EGD"
hostmakedepends="perl"
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=ab2e5a1034d422951ddad21b572eb7fa8efb4c4ce04bc86536c6845f3d02b07e
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
}