milis/talimatname/genel/o/opendht/talimat

23 lines
568 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Kademlia DHT'nin (Distributed Hash Table) bir C ++ 11 uygulaması,
2016-12-18 21:29:51 +01:00
# URL: https://github.com/savoirfairelinux/opendht
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: cmake gnutls nettle msgpack-c python3-setuptools cython argon2
2016-12-18 21:29:51 +01:00
2017-10-28 14:10:23 +02:00
isim=opendht
2018-03-11 03:45:18 +01:00
surum=1.6.1
2017-10-28 14:10:23 +02:00
devir=1
kaynak=(https://github.com/savoirfairelinux/opendht/archive/$surum.tar.gz::$isim-$surum.tar.gz)
2016-12-18 21:29:51 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-12-18 21:29:51 +01:00
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
}