milis/talimatname/genel/n/netdata/talimat

26 lines
687 B
Plaintext
Raw Normal View History

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
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"
}