talimat 619 B

1234567891011121314151617181920212223
  1. # Tanım: p2p şifreli iletişim protokol çekirdeği
  2. # URL: https://github.com/TokTok/c-toxcore/
  3. # Paketçi: milisarge
  4. # Gerekler: libconfig libsodium libvpx opus cmake
  5. # Grup: ağ
  6. isim=toxcore
  7. surum=0.1.10
  8. devir=1
  9. kaynak=(https://github.com/TokTok/c-toxcore/archive/v$surum.tar.gz::c-toxcore-$surum.tar.gz)
  10. derle() {
  11. cd c-toxcore-$surum
  12. sed -i "/Rpath/d;/RPATH/d" CMakeLists.txt
  13. cmake -DCMAKE_INSTALL_PREFIX=/usr \
  14. -DDHT_BOOTSTRAP=on \
  15. -DBOOTSTRAP_DAEMON=on \
  16. -DBUILD_NTOX=off
  17. make
  18. make DESTDIR="$PKG" install
  19. install -Dm644 ./other/bootstrap_daemon/tox-bootstrapd.conf "$PKG/etc/tox-bootstrapd.conf"
  20. }