milis/talimatname/genel/o/openvpn/talimat

27 lines
550 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: VPN istemcisi
# URL: http://www.openvpn.net
# Paketçi: milisarge
# Gerekler:
isim=openvpn
surum=2.4.0
devir=1
kaynak=(http://swupdate.openvpn.net/community/releases/$isim-$surum.tar.gz \
openvpnd)
derle() {
install -D -m 755 openvpnd $PKG/etc/rc.d/init.d/openvpn
cd $isim-$surum
./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
}