milis/talimatname/genel/t/tuntox/talimat

24 lines
457 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Tox protokolü üzerinden tünel TCP bağlantıları
2016-10-15 22:37:33 +02:00
# URL: http://tuntox.pl/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cscope toxcore
2017-04-19 14:39:08 +02:00
2017-10-28 14:10:23 +02:00
isim=tuntox
surum=git
devir=1
2016-10-15 22:37:33 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(shared-build.patch)
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
if [ ! -d $DERLEME_KAYNAKDIZIN/$isim.git ];then
git clone https://github.com/gjedeer/$isim.git
2016-10-15 22:37:33 +02:00
else
2017-10-28 14:10:23 +02:00
cd $DERLEME_KAYNAKDIZIN/$isim.git
2016-10-15 22:37:33 +02:00
git pull
cd -
fi
2017-10-28 14:10:23 +02:00
cd $isim
2016-10-15 22:37:33 +02:00
patch -p1 -i ../shared-build.patch
make
install -Dm755 tuntox "$PKG/usr/bin/tuntox"
}