contrib/openvpn/Pkgfile
2019-03-19 04:15:00 +01:00

25 lines
559 B
Plaintext

# Description: VPN Client
# URL: http://www.openvpn.net
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: lzo
name=openvpn
version=2.4.7
release=1
source=(http://swupdate.openvpn.net/community/releases/$name-$version.tar.xz \
openvpn)
build() {
install -D -m 755 openvpn $PKG/etc/rc.d/openvpn
cd $name-$version
./configure --prefix=/usr \
--mandir=/usr/share/man \
--enable-iproute2 \
--disable-plugin-auth-pam
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
}