From 684a74f6fa86377ae524c73ca928348ebee89590 Mon Sep 17 00:00:00 2001 From: milisman Date: Sun, 18 Dec 2016 22:29:51 +0200 Subject: [PATCH] opendht.paketlendi --- talimatname/genel/opendht/talimat | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 talimatname/genel/opendht/talimat diff --git a/talimatname/genel/opendht/talimat b/talimatname/genel/opendht/talimat new file mode 100644 index 000000000..f5a8753dd --- /dev/null +++ b/talimatname/genel/opendht/talimat @@ -0,0 +1,30 @@ +# Description: A C++11 implementation of the Kademlia DHT (Distributed Hash Table) +# URL: https://github.com/savoirfairelinux/opendht +# packager: milisarge +# Depends on: cmake gnutls nettle msgpack-c python3 cython + +name=opendht +version=master +release=1 +source=() +_source=https://github.com/savoirfairelinux/opendht + +build() { + if [ ! -d $DERLEME_KAYNAKDIZIN/$name ];then + git clone $_source $DERLEME_KAYNAKDIZIN/$name + else + cd $DERLEME_KAYNAKDIZIN/$name + git pull + fi + cp -r $DERLEME_KAYNAKDIZIN/$name $SRC/ + cd $SRC/$name + mkdir -p build + cd build + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DOPENDHT_PYTHON=ON \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib + make + make DESTDIR=$PKG install +}