wok view netdata/receipt @ rev 24749
cairo: modified lookup-symbol.c for binutils-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 16 17:06:35 2022 +0100 (2022-03-16) |
parents | ac8ca9758df1 |
children |
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 current_version()
20 {
21 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure --prefix=/usr \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --with-zlib \
32 --with-math \
33 --with-user=netdata \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $install/usr/share/doc $fs/etc/logrotate.d $fs/etc/init.d
43 cp $src/README* $install/usr/share/doc
44 cp -a $install/* $fs/
45 cp $src/system/netdata.conf $fs/etc/netdata
46 cp $src/system/netdata.logrotate $fs/etc/logrotate.d/netdata
47 ln -s daemon $fs/etc/init.d/netdata
48 }