milis/talimatname/genel/c/cjdns/talimat

37 lines
955 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: Güvenlik, ölçeklenebilirlik, hız ve kullanım kolaylığı için tasarlanmış bir yönlendirme motoru
# URL: https://github.com/cjdelisle/cjdns
# Paketçi: milisarge
# Gerekler: node python
isim=cjdns
hesap=cjdelisle
surum=19.1
devir=1
kaynak=(https://github.com/$hesap/$isim/archive/$isim-v$surum.tar.gz
cjdns.servis cjdns.rc.d cjdns.sh)
derle() {
#if [ ! -d $DERLEME_KAYNAKDIZIN/$isim ];then
# git clone https://github.com/$hesap/$isim $DERLEME_KAYNAKDIZIN/$isim
#else
# cd $DERLEME_KAYNAKDIZIN/$isim
# git pull
# cd -
#fi
#cp -r $DERLEME_KAYNAKDIZIN/$isim $SRC/
#cd $SRC/$isim
cd $isim-$isim-v$surum
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
}