void-packages/srcpkgs/openvpn/template
2016-03-30 02:03:54 -04:00

22 lines
734 B
Bash

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