23 lines
782 B
Bash
23 lines
782 B
Bash
# Template file for 'openvpn'
|
|
pkgname=openvpn
|
|
version=2.3.7
|
|
revision=1
|
|
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=1f02a4cd6aeb6250ca9311560875b10ce8957a3c9101a8005bd1e17e5b03146e
|
|
|
|
post_install() {
|
|
vmkdir usr/share/examples/${pkgname}
|
|
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
}
|