wok-6.x view netdata/receipt @ rev 20354
Up e2fsprogs (1.44.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 09 16:13:52 2018 +0200 (2018-06-09) |
parents | |
children | 1e49fb3e5dd0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="netdata"
4 VERSION="1.7.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Real-time performance monitoring, done right"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://my-netdata.io/"
11 WGET_URL="https://github.com/firehol/netdata/releases/download/v$VERSION/$TARBALL"
12 TAGS="monitoring"
13 CONFIG_FILES="/etc/netdata"
15 DEPENDS="python-pyyaml util-linux-uuid zlib"
16 BUILD_DEPENDS="pkg-config util-linux-uuid-dev"
17 SUGGESTED="psycopg2 python-mysql lm-sensors curl node iproute2 gnu-netcat"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --with-zlib \
26 --with-math \
27 --with-user=netdata \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $install/usr/share/doc $fs/etc/logrotate.d $fs/etc/init.d
37 cp $src/README* $install/usr/share/doc
38 cp -a $install/* $fs/
39 cp $src/system/netdata.conf $fs/etc/netdata
40 cp $src/system/netdata.logrotate $fs/etc/logrotate.d/netdata
41 ln -s daemon $fs/etc/init.d/netdata
42 }