talimat 581 B

123456789101112131415161718192021222324
  1. # Tanım: Kademlia DHT'nin (Distributed Hash Table) bir C++11 uygulaması,
  2. # URL: https://github.com/savoirfairelinux/opendht
  3. # Paketçi: milisarge
  4. # Gerekler: cmake gnutls nettle msgpack-c python3-setuptools cython argon2
  5. # Grup: sistem
  6. isim=opendht
  7. surum=1.7.4
  8. devir=1
  9. kaynak=(https://github.com/savoirfairelinux/opendht/archive/$surum.tar.gz::$isim-$surum.tar.gz)
  10. derle() {
  11. cd $isim-$surum
  12. mkdir -p build
  13. cd build
  14. cmake .. \
  15. -DCMAKE_BUILD_TYPE=Release \
  16. -DOPENDHT_PYTHON=ON \
  17. -DCMAKE_INSTALL_PREFIX=/usr \
  18. -DCMAKE_INSTALL_LIBDIR=lib
  19. make
  20. make DESTDIR=$PKG install
  21. }