milis/talimatname/genel/netdata/talimat

26 lines
704 B
Plaintext
Raw Normal View History

2017-08-07 11:43:12 +02:00
# Description: Web tabanlı gerçek zamanlı sistem performans izleyici uygulaması
# URL: https://github.com/firehol/netdata/wiki
# Packager: milisarge
# Depends on: libmnl libnetfilter_acct
name=netdata
version=1.7.0
release=1
source=(https://github.com/firehol/netdata/releases/download/v${version}/netdata-${version}.tar.xz)
build(){
cd $name-$version
./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"
}