wok diff netdata/receipt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (19 months ago)
parents
children 1e49fb3e5dd0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/netdata/receipt	Tue Mar 13 21:40:37 2018 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="netdata"
     1.7 +VERSION="1.7.0"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Real-time performance monitoring, done right"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="https://my-netdata.io/"
    1.14 +WGET_URL="https://github.com/firehol/netdata/releases/download/v$VERSION/$TARBALL"
    1.15 +TAGS="monitoring"
    1.16 +CONFIG_FILES="/etc/netdata"
    1.17 +
    1.18 +DEPENDS="python-pyyaml util-linux-uuid zlib"
    1.19 +BUILD_DEPENDS="pkg-config util-linux-uuid-dev"
    1.20 +SUGGESTED="psycopg2 python-mysql lm-sensors curl node iproute2 gnu-netcat"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	./configure --prefix=/usr \
    1.26 +		--sysconfdir=/etc \
    1.27 +		--localstatedir=/var \
    1.28 +		--with-zlib \
    1.29 +		--with-math \
    1.30 +		--with-user=netdata \
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	make &&
    1.33 +	make DESTDIR=$DESTDIR install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $install/usr/share/doc $fs/etc/logrotate.d $fs/etc/init.d
    1.40 +	cp $src/README* $install/usr/share/doc
    1.41 +	cp -a $install/* $fs/
    1.42 +	cp $src/system/netdata.conf $fs/etc/netdata
    1.43 +	cp $src/system/netdata.logrotate $fs/etc/logrotate.d/netdata
    1.44 +	ln -s daemon $fs/etc/init.d/netdata
    1.45 +}