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
|
2016-07-01 00:34:22 +02:00
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
}
|