talimat 699 B

123456789101112131415161718192021222324252627
  1. # Tanım: Web tabanlı gerçek zamanlı sistem performans izleyici uygulaması
  2. # URL: https://github.com/firehol/netdata/wiki
  3. # Paketçi: milisarge
  4. # Gerekler: libmnl libnetfilter_acct
  5. # Grup: ağ
  6. isim=netdata
  7. surum=1.7.0
  8. devir=1
  9. kaynak=(https://github.com/firehol/netdata/releases/download/v${surum}/netdata-${surum}.tar.xz)
  10. derle(){
  11. cd $isim-$surum
  12. ./configure \
  13. --prefix="/usr" \
  14. --sbindir="/usr/bin" \
  15. --sysconfdir="/etc" \
  16. --libexecdir="/usr/lib" \
  17. --localstatedir="/var" \
  18. --with-zlib --with-math --with-user=netdata
  19. make
  20. make DESTDIR=$PKG install
  21. touch "$PKG/etc/netdata/netdata.conf"
  22. install -Dm0644 "system/netdata.logrotate" "$PKG/etc/logrotate.d/netdata"
  23. }