26 lines
687 B
Plaintext
26 lines
687 B
Plaintext
# Tanım: Web tabanlı gerçek zamanlı sistem performans izleyici uygulaması
|
||
# URL: https://github.com/firehol/netdata/wiki
|
||
# Paketçi: milisarge
|
||
# Gerekler: libmnl libnetfilter_acct
|
||
|
||
isim=netdata
|
||
surum=1.7.0
|
||
devir=1
|
||
|
||
kaynak=(https://github.com/firehol/netdata/releases/download/v${surum}/netdata-${surum}.tar.xz)
|
||
|
||
derle(){
|
||
cd $isim-$surum
|
||
./configure \
|
||
--prefix="/usr" \
|
||
--sbindir="/usr/bin" \
|
||
--sysconfdir="/etc" \
|
||
--libexecdir="/usr/lib" \
|
||
--localstatedir="/var" \
|
||
--with-zlib --with-math --with-user=netdata
|
||
make
|
||
make DESTDIR=$PKG install
|
||
touch "$PKG/etc/netdata/netdata.conf"
|
||
install -Dm0644 "system/netdata.logrotate" "$PKG/etc/logrotate.d/netdata"
|
||
}
|