talimat 565 B

123456789101112131415161718192021222324252627
  1. # Description: VPN istemcisi
  2. # URL: http://www.openvpn.net
  3. # Packager: milisarge
  4. # Depends on:
  5. name=openvpn
  6. version=2.4.0
  7. release=1
  8. source=(http://swupdate.openvpn.net/community/releases/$name-$version.tar.gz \
  9. openvpnd)
  10. build() {
  11. install -D -m 755 openvpnd $PKG/etc/rc.d/init.d/openvpn
  12. cd $name-$version
  13. ./configure --prefix=/usr \
  14. --mandir=/usr/man \
  15. --enable-iproute2 \
  16. --disable-plugin-auth-pam
  17. make
  18. make DESTDIR=$PKG install
  19. if [ -d $PKG/usr/share/doc ];then
  20. rm -r $PKG/usr/share/doc
  21. fi
  22. }