void-packages/srcpkgs/openvpn/template
2017-06-21 13:44:56 +02:00

22 lines
731 B
Bash

# Template file for 'openvpn'
pkgname=openvpn
version=2.4.3
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.xz"
checksum=7aa86167a5b8923e54e8795b814ed77288c793671f59fd830d9ab76d4b480571
post_install() {
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
rm -rf ${DESTDIR}/usr/include
}