void-packages/srcpkgs/openvpn/template

23 lines
732 B
Bash

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