diff options
Diffstat (limited to 'packages/sys-analyzer')
-rw-r--r-- | packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 | 7 | ||||
-rw-r--r-- | packages/sys-analyzer/collectd/collectd-scm.exheres-0 | 11 | ||||
-rw-r--r-- | packages/sys-analyzer/collectd/collectd.exlib | 29 |
3 files changed, 47 insertions, 0 deletions
diff --git a/packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 b/packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 new file mode 100644 index 0000000..9fd8ab0 --- /dev/null +++ b/packages/sys-analyzer/collectd/collectd-5.9.2.exheres-0 @@ -0,0 +1,7 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2020 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require collectd + +PLATFORMS="~amd64 ~x86" + diff --git a/packages/sys-analyzer/collectd/collectd-scm.exheres-0 b/packages/sys-analyzer/collectd/collectd-scm.exheres-0 new file mode 100644 index 0000000..8bd5251 --- /dev/null +++ b/packages/sys-analyzer/collectd/collectd-scm.exheres-0 @@ -0,0 +1,11 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2020 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +SCM_EXTERNAL_REFS=" + gnulib: +" + +require collectd + +PLATFORMS="~amd64 ~x86" + diff --git a/packages/sys-analyzer/collectd/collectd.exlib b/packages/sys-analyzer/collectd/collectd.exlib new file mode 100644 index 0000000..9e5c3ed --- /dev/null +++ b/packages/sys-analyzer/collectd/collectd.exlib @@ -0,0 +1,29 @@ +# Distributed under the terms of the GNU General Public License v2 +# Copyright 2020 Gluzskiy Alexandr <sss@sss.chaoslab.ru> + +require github [ user=collectd tag=${PNV} ] +require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ] + +export_exlib_phases src_install + +SUMMARY="The system statistics collection daemon." +LICENCES="MIT" +SLOT="0" + +#RESTRICT="test" + +#TODO: suggestions + +DEFAULT_SRC_CONFIGURE_PARAMS=( + --disable-werror +) + +collectd_src_install() { + default + nonfatal edo rmdir "${IMAGE}"/var/lib/log + nonfatal edo rmdir "${IMAGE}"/var/lib/run + nonfatal edo rmdir "${IMAGE}"/var/lib/lib/collectd + nonfatal edo rmdir "${IMAGE}"/var/lib/lib + nonfatal edo rmdir "${IMAGE}"/var/lib + nonfatal edo rmdir "${IMAGE}"/var +} |