milis/talimatname/genel/cjdns/talimat

37 lines
972 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.

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