milis/talimatname/genel/t/tinc/talimat

25 lines
696 B
Plaintext
Raw Normal View History

2018-07-26 11:54:45 +02:00
# Tanım: Bir vpn uygulaması
2018-06-09 00:06:58 +02:00
# URL: http://www.tinc-vpn.org
# Paketçi: milisarge
# Gerekler:
2018-07-26 11:54:45 +02:00
# Grup: ağ
2018-06-09 00:06:58 +02:00
isim=tinc
surum=1.0.31
devir=1
kaynak=(https://github.com/gsliepen/tinc/archive/release-$surum.tar.gz)
derle() {
cd $isim-release-$surum
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 {} +
}