summaryrefslogtreecommitdiff
path: root/packages/sys-analyzer/collectd/collectd.exlib
blob: 7fa844b8c1cf6dd250888d5722c2221fd79d6ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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"

#TODO: all deps are optional, but suggestions may be useful
# or maybe it's better to implement options for available deps
DEPENDENCIES="
"

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
}