void-packages/srcpkgs/openvpn/template
2018-11-05 19:23:35 +01:00

23 lines
799 B
Bash

# Template file for 'openvpn'
pkgname=openvpn
version=2.4.6
revision=4
build_style=gnu-configure
configure_args="--enable-pkcs11 --enable-iproute2 --disable-systemd"
hostmakedepends="iproute2 pkg-config"
makedepends="libressl-devel lzo-devel pam-devel pkcs11-helper-devel
cmocka-devel"
depends="iproute2"
short_desc="An easy-to-use, robust, and highly configurable VPN"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-only"
homepage="https://www.openvpn.net"
distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
checksum=4f6434fa541cc9e363434ea71a16a62cf2615fb2f16af5b38f43ab5939998c26
post_install() {
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
rm -rf ${DESTDIR}/usr/include
}