milis/talimatname/genel/n/netdata/talimat

26 lines
687 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Web tabanlı gerçek zamanlı sistem performans izleyici uygulaması
2017-08-07 11:43:12 +02:00
# URL: https://github.com/firehol/netdata/wiki
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libmnl libnetfilter_acct
2017-08-07 11:43:12 +02:00
2017-10-28 14:10:23 +02:00
isim=netdata
surum=1.7.0
devir=1
2017-08-07 11:43:12 +02:00
2017-10-28 14:10:23 +02:00
kaynak=(https://github.com/firehol/netdata/releases/download/v${surum}/netdata-${surum}.tar.xz)
2017-08-07 11:43:12 +02:00
2017-10-27 23:59:41 +02:00
derle(){
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2017-08-07 11:43:12 +02:00
./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"
}