wok rev 20037

Add netdata
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 24 17:42:58 2017 +0200 (2017-08-24)
parents d1a71db9a073
children d79fd0c7512f
files netdata/description.txt netdata/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netdata/description.txt	Thu Aug 24 17:42:58 2017 +0200
     1.3 @@ -0,0 +1,8 @@
     1.4 +netdata is the fastest way to visualize metrics. It is a resource
     1.5 +efficient, highly optimized system for collecting and visualizing any
     1.6 +type of realtime timeseries data, from CPU usage, disk activity, SQL
     1.7 +queries, API calls, web site visitors, etc.
     1.8 + 
     1.9 +netdata tries to visualize the truth of now, in its greatest detail,
    1.10 +so that you can get insights of what is happening now and what just
    1.11 +happened, on your systems and applications.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/netdata/receipt	Thu Aug 24 17:42:58 2017 +0200
     2.3 @@ -0,0 +1,42 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="netdata"
     2.7 +VERSION="1.7.0"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Real-time performance monitoring, done right"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL3"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.13 +WEB_SITE="https://my-netdata.io/"
    2.14 +WGET_URL="https://github.com/firehol/netdata/releases/download/v$VERSION/$TARBALL"
    2.15 +TAGS="monitoring"
    2.16 +CONFIG_FILES="/etc/netdata"
    2.17 +
    2.18 +DEPENDS="python-pyyaml util-linux-uuid zlib"
    2.19 +BUILD_DEPENDS="pkg-config util-linux-uuid-dev"
    2.20 +SUGGESTED="psycopg2 python-mysql lm-sensors curl node iproute2 gnu-netcat"
    2.21 +
    2.22 +# Rules to configure and make the package.
    2.23 +compile_rules()
    2.24 +{
    2.25 +	./configure --prefix=/usr \
    2.26 +		--sysconfdir=/etc \
    2.27 +		--localstatedir=/var \
    2.28 +		--with-zlib \
    2.29 +		--with-math \
    2.30 +		--with-user=netdata \
    2.31 +		$CONFIGURE_ARGS &&
    2.32 +	make &&
    2.33 +	make DESTDIR=$DESTDIR install
    2.34 +}
    2.35 +
    2.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.37 +genpkg_rules()
    2.38 +{
    2.39 +	mkdir -p $install/usr/share/doc $fs/etc/logrotate.d $fs/etc/init.d
    2.40 +	cp $src/README* $install/usr/share/doc
    2.41 +	cp -a $install/* $fs/
    2.42 +	cp $src/system/netdata.conf $fs/etc/netdata
    2.43 +	cp $src/system/netdata.logrotate $fs/etc/logrotate.d/netdata
    2.44 +	ln -s daemon $fs/etc/init.d/netdata
    2.45 +}