milis/talimatname/genel/cjdns/talimat

37 lines
972 B
Plaintext
Raw Normal View History

2017-03-21 12:16:58 +01:00
# Description: 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
# Packager: milisarge
# Depends on : node python
name=cjdns
hesap=cjdelisle
2017-06-01 05:48:31 +02:00
version=19.1
2016-07-01 00:34:22 +02:00
release=1
2017-06-01 05:48:31 +02:00
source=(https://github.com/$hesap/$name/archive/$name-v$version.tar.gz
cjdns.servis cjdns.rc.d cjdns.sh)
2016-07-01 00:34:22 +02:00
build () {
2017-06-01 05:48:31 +02:00
#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
2016-07-01 00:34:22 +02:00
2017-06-01 05:48:31 +02:00
#cp -r $DERLEME_KAYNAKDIZIN/$name $SRC/
#cd $SRC/$name
cd $name-$name-v$version
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
}