milis/talimatname/genel/opendht/talimat

23 lines
585 B
Plaintext
Raw Normal View History

2017-04-06 13:07:16 +02:00
# Description: Kademlia DHT'nin (Distributed Hash Table) bir C ++ 11 uygulaması,
2016-12-18 21:29:51 +01:00
# URL: https://github.com/savoirfairelinux/opendht
# packager: milisarge
2017-07-25 04:22:49 +02:00
# Depends on: cmake gnutls nettle msgpack-c python3-setuptools cython argon2
2016-12-18 21:29:51 +01:00
name=opendht
2017-08-11 21:33:10 +02:00
version=1.3.6
2016-12-18 21:29:51 +01:00
release=1
2017-08-11 21:33:10 +02:00
source=(https://github.com/savoirfairelinux/opendht/archive/$version.tar.gz::$name-$version.tar.gz)
2016-12-18 21:29:51 +01:00
build() {
2017-07-25 04:22:49 +02:00
cd $name-$version
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
}