void-packages/srcpkgs/openvpn/template

23 lines
736 B
Bash

# Template file for 'openvpn'
pkgname=openvpn
version=2.3.12
revision=2
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="https://swupdate.openvpn.org/community/releases/${pkgname}-${version}.tar.gz"
checksum=f5d39b8c55f75b0aab943059b20571452b494146d997b12d48ce9bd753c01cff
post_install() {
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
rm -rf ${DESTDIR}/usr/include
}