24 lines
797 B
Bash
24 lines
797 B
Bash
# Template file for 'openvpn'
|
|
pkgname=openvpn
|
|
version=2.4.8
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-pkcs11 --enable-iproute2 --disable-systemd"
|
|
hostmakedepends="iproute2 pkg-config"
|
|
makedepends="libressl-devel lzo-devel pam-devel pkcs11-helper-devel
|
|
cmocka-devel"
|
|
depends="iproute2"
|
|
short_desc="Easy-to-use, robust, and highly configurable VPN"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://www.openvpn.net"
|
|
distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
|
|
checksum=fb8ca66bb7807fff595fbdf2a0afd085c02a6aa47715c9aa3171002f9f1a3f91
|
|
|
|
post_install() {
|
|
vmkdir usr/share/examples/${pkgname}
|
|
cp -r sample/sample-config-files/* ${DESTDIR}/usr/share/examples/${pkgname}
|
|
|
|
rm -rf ${DESTDIR}/usr/include
|
|
}
|