milis/talimatname/genel/t/tinc/talimat

24 lines
684 B
Text
Raw Normal View History

2017-10-27 21:46:27 +03:00
# Tanım: bir vpn uygulaması
2017-05-24 02:56:50 +03:00
# URL: http://www.tinc-vpn.org
2017-10-27 21:46:27 +03:00
# Paketçi: milisarge
# Gerekler:
2017-05-24 02:56:50 +03:00
2017-10-28 15:10:23 +03:00
isim=tinc
surum=1.0.31
devir=1
kaynak=(https://github.com/gsliepen/tinc/archive/release-$surum.tar.gz)
2017-05-24 02:56:50 +03:00
2017-10-28 00:59:41 +03:00
derle() {
2017-10-28 15:10:23 +03:00
cd $isim-release-$surum
2017-05-24 02:56:50 +03:00
autoreconf -fsi
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
make
make DESTDIR=$PKG install
install -d "$PKG"/etc/tinc/
install -dm755 "$PKG"/usr/share/tinc/examples
cp -r doc/sample-config $PKG/usr/share/tinc/examples
cp doc/sample-config/tinc.conf "$PKG"/etc/tinc/
find "$PKG"/usr/share/tinc/examples -type f -exec chmod 644 {} +
find "$PKG"/usr/share/tinc/examples -type d -exec chmod 755 {} +
}