2016-05-10 03:28:37 +02:00
|
|
|
# Description: VPN Client
|
|
|
|
# URL: http://www.openvpn.net
|
|
|
|
# Packager: milisarge
|
2017-03-19 06:13:37 +01:00
|
|
|
# Depends on:
|
2016-05-10 03:28:37 +02:00
|
|
|
|
|
|
|
name=openvpn
|
2017-03-19 06:13:37 +01:00
|
|
|
version=2.4.0
|
2016-05-10 03:28:37 +02:00
|
|
|
release=1
|
|
|
|
source=(http://swupdate.openvpn.net/community/releases/$name-$version.tar.gz \
|
|
|
|
openvpnd)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
install -D -m 755 openvpnd $PKG/etc/rc.d/init.d/openvpn
|
|
|
|
cd $name-$version
|
|
|
|
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--mandir=/usr/man \
|
|
|
|
--enable-iproute2 \
|
|
|
|
--disable-plugin-auth-pam
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
if [ -d $PKG/usr/share/doc ];then
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
fi
|
|
|
|
|
|
|
|
}
|