wok annotate netdata/receipt @ rev 21011

updated gtklife (5.1 -> 5.2)
author Hans-G?nter Theisgen
date Sat Mar 09 15:17:33 2019 +0100 (2019-03-09)
parents 16a08ab1ff03
children 5ea0ce1cecc0
rev   line source
pascal@20037 1 # SliTaz package receipt.
pascal@20037 2
pascal@20037 3 PACKAGE="netdata"
pascal@20529 4 VERSION="1.11.0"
pascal@20037 5 CATEGORY="system-tools"
pascal@20037 6 SHORT_DESC="Real-time performance monitoring, done right"
pascal@20037 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@20037 8 LICENSE="GPL3"
pascal@20529 9 TARBALL="$PACKAGE-v$VERSION.tar.gz"
pascal@20037 10 WEB_SITE="https://my-netdata.io/"
pascal@20529 11 WGET_URL="https://github.com/netdata/netdata/releases/download/v$VERSION/$TARBALL"
pascal@20037 12 TAGS="monitoring"
pascal@20037 13 CONFIG_FILES="/etc/netdata"
pascal@20037 14
pascal@20037 15 DEPENDS="python-pyyaml util-linux-uuid zlib"
pascal@20037 16 BUILD_DEPENDS="pkg-config util-linux-uuid-dev"
pascal@20037 17 SUGGESTED="psycopg2 python-mysql lm-sensors curl node iproute2 gnu-netcat"
pascal@20037 18
pascal@20037 19 # Rules to configure and make the package.
pascal@20037 20 compile_rules()
pascal@20037 21 {
pascal@20037 22 ./configure --prefix=/usr \
pascal@20037 23 --sysconfdir=/etc \
pascal@20037 24 --localstatedir=/var \
pascal@20037 25 --with-zlib \
pascal@20037 26 --with-math \
pascal@20037 27 --with-user=netdata \
pascal@20037 28 $CONFIGURE_ARGS &&
pascal@20037 29 make &&
pascal@20037 30 make DESTDIR=$DESTDIR install
pascal@20037 31 }
pascal@20037 32
pascal@20037 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@20037 34 genpkg_rules()
pascal@20037 35 {
pascal@20037 36 mkdir -p $install/usr/share/doc $fs/etc/logrotate.d $fs/etc/init.d
pascal@20037 37 cp $src/README* $install/usr/share/doc
pascal@20037 38 cp -a $install/* $fs/
pascal@20037 39 cp $src/system/netdata.conf $fs/etc/netdata
pascal@20037 40 cp $src/system/netdata.logrotate $fs/etc/logrotate.d/netdata
pascal@20037 41 ln -s daemon $fs/etc/init.d/netdata
pascal@20037 42 }