void-packages/srcpkgs/netdata/template

41 lines
1.1 KiB
Bash
Raw Normal View History

2016-05-01 10:50:21 +02:00
# Template file for 'netdata'
pkgname=netdata
2016-08-29 22:50:55 +02:00
version=1.3.0
revision=1
2016-05-01 10:50:21 +02:00
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="zlib-devel"
system_accounts="_netdata"
2016-05-01 10:50:21 +02:00
conf_files="/etc/${pkgname}/*.conf"
2016-08-29 22:50:55 +02:00
configure_args="--with-user=_netdata"
makedepends="libuuid-devel zlib-devel"
2016-05-01 10:50:21 +02:00
short_desc="Real-time performance monitoring, done right"
maintainer="Michael Aldridge <aldridge.mac@gmail.com>"
license="GPL-3"
homepage="http://netdata.firehol.org/"
distfiles="http://firehol.org/download/netdata/releases/v${version}/${pkgname}-${version}.tar.gz"
2016-08-29 22:50:55 +02:00
checksum=696772c5761354d3ff395c1fcf5eb17eab83937a959e3ebf945288ca8b6d0ed5
2016-05-01 10:50:21 +02:00
post_install() {
vsv netdata
}
2016-08-29 22:50:55 +02:00
netdata-plugins-nodejs_package() {
short_desc+=" - NodeJS Plugins"
depends="${sourcepkg}>=${version}_${revision} nodejs"
pkg_install() {
vmove usr/libexec/netdata/plugins.d/node.d.plugin
vmove usr/libexec/netdata/node.d
}
}
netdata-plugins-python_package() {
short_desc+=" - Python Plugins"
depends="${sourcepkg}>=${version}_${revision} python"
pkg_install() {
vmove usr/libexec/netdata/plugins.d/python.d.plugin
vmove usr/libexec/netdata/python.d
vmove etc/netdata/python.d
}
}