talimat 584 B

123456789101112131415161718192021
  1. # Tanım: hızlı ve güvenli tünelleme uygulaması
  2. # URL: https://projects.universe-factory.net/projects/fastd
  3. # Paketçi: milisarge
  4. # Gerekler: pkg-config cmake libcap libuecc libsodium json-c
  5. # Grup: ağ
  6. isim=fastd
  7. surum=18
  8. devir=1
  9. kaynak=(https://projects.universe-factory.net/attachments/download/86/$isim-$surum.tar.xz)
  10. derle() {
  11. cd $isim-$surum
  12. mkdir -p build
  13. cd build
  14. cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr -D ENABLE_SYSTEMD=ON -D ENABLE_LTO=ON -D ENABLE_OPENSSL=ON ../
  15. make
  16. make install DESTDIR="${PKG}"
  17. install -dm755 "${PKG}/etc/fastd/"
  18. }