milis/talimatname/genel/c/cjdns/talimat

39 lines
972 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Güvenlik, ölçeklenebilirlik, hız ve kullanım kolaylığı için tasarlanmış bir yönlendirme motoru
2016-07-01 00:34:22 +02:00
# URL: https://github.com/cjdelisle/cjdns
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: node python
2017-12-24 00:47:53 +01:00
# Grup: ağ
2016-07-01 00:34:22 +02:00
2017-10-28 14:10:23 +02:00
isim=cjdns
surum=19.1
devir=1
kaynak=(https://github.com/$hesap/$isim/archive/$isim-v$surum.tar.gz
2017-12-24 00:47:53 +01:00
cjdns.serviscjdns.rc.dcjdns.sh)
hesap=cjdelisle
2016-07-01 00:34:22 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2016-07-01 00:34:22 +02:00
2017-10-28 14:10:23 +02:00
#if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
# git clone https://github.com/$hesap/$isim $DERLEME_KAYNAKDIZIN/$isim
2017-06-01 05:48:31 +02:00
#else
2017-10-28 14:10:23 +02:00
# cd $DERLEME_KAYNAKDIZIN/$isim
2017-06-01 05:48:31 +02:00
# git pull
# cd -
#fi
2016-07-01 00:34:22 +02:00
2017-10-28 14:10:23 +02:00
#cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
#cd $SRC/$isim
2017-06-01 05:48:31 +02:00
2017-10-28 14:10:23 +02:00
cd $isim-$isim-v$surum
2016-07-01 00:34:22 +02:00
bash 'do'
install -Dm755 cjdroute "$PKG/usr/bin/cjdroute"
install -Dm755 contrib/sh/run-cjdroute.sh "$PKG/usr/bin/run-cjdroute"
install -Dm644 $SRC/cjdns.servis $PKG/etc/default/cjdns
install -Dm755 $SRC/cjdns.sh $PKG/usr/bin/cjdns.sh
install -Dm755 $SRC/cjdns.rc.d $PKG/etc/rc.d/init.d/cjdns
}