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