2018-06-09 00:06:58 +02:00
|
|
|
|
# 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
|
2018-08-02 09:02:07 +02:00
|
|
|
|
# Grup: ağ
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
}
|