24 lines
581 B
Plaintext
24 lines
581 B
Plaintext
# Tanım: Kademlia DHT'nin (Distributed Hash Table) bir C++11 uygulaması,
|
||
# URL: https://github.com/savoirfairelinux/opendht
|
||
# Paketçi: milisarge
|
||
# Gerekler: cmake gnutls nettle msgpack-c python3-setuptools cython argon2
|
||
# Grup: sistem
|
||
|
||
isim=opendht
|
||
surum=1.7.4
|
||
devir=1
|
||
kaynak=(https://github.com/savoirfairelinux/opendht/archive/$surum.tar.gz::$isim-$surum.tar.gz)
|
||
|
||
derle() {
|
||
cd $isim-$surum
|
||
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
|
||
}
|