wok view netdata/receipt @ rev 20762
Fix cairo & cadaver
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 13 10:43:31 2019 +0100 (2019-02-13) |
parents | 16a08ab1ff03 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="netdata"
4 VERSION="1.11.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-v$VERSION.tar.gz"
10 WEB_SITE="https://my-netdata.io/"
11 WGET_URL="https://github.com/netdata/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 }