void-packages/srcpkgs/openvpn/template

24 lines
796 B
Bash

# Template file for 'openvpn'
pkgname=openvpn
version=2.3.8
revision=2
build_pie=yes
build_style=gnu-configure
configure_args="--enable-password-save --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 (Virtual Private Network)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://www.openvpn.net"
distfiles="http://swupdate.openvpn.org/community/releases/${pkgname}-${version}.tar.gz"
checksum=532435eff61c14b44a583f27b72f93e7864e96c95fe51134ec0ad4b1b1107c51
post_install() {
vmkdir usr/share/examples/${pkgname}
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
rm -rf ${DESTDIR}/usr/include
}