milis/talimatname/genel/netdata/talimat

26 lines
704 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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