contrib/openvpn/Pkgfile

25 lines
559 B
Plaintext
Raw Normal View History

2009-10-15 11:05:53 +02:00
# Description: VPN Client
# URL: http://www.openvpn.net
# Maintainer: Thomas Penteker, tek at serverop dot de
# Depends on: lzo
name=openvpn
2019-03-19 04:15:00 +01:00
version=2.4.7
2013-01-09 14:00:24 +01:00
release=1
2019-03-19 04:15:00 +01:00
source=(http://swupdate.openvpn.net/community/releases/$name-$version.tar.xz \
openvpn)
2009-10-15 11:05:53 +02:00
build() {
install -D -m 755 openvpn $PKG/etc/rc.d/openvpn
2009-10-15 11:05:53 +02:00
cd $name-$version
./configure --prefix=/usr \
2019-03-19 04:15:00 +01:00
--mandir=/usr/share/man \
--enable-iproute2 \
2013-01-09 14:00:24 +01:00
--disable-plugin-auth-pam
2009-10-15 11:05:53 +02:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
2013-01-09 19:35:05 +01:00
2009-10-15 11:05:53 +02:00
}