diff options
Diffstat (limited to 'package/collectd')
-rw-r--r-- | package/collectd/Config.in | 36 | ||||
-rw-r--r-- | package/collectd/Makefile | 12 |
2 files changed, 9 insertions, 39 deletions
diff --git a/package/collectd/Config.in b/package/collectd/Config.in deleted file mode 100644 index d040e581c..000000000 --- a/package/collectd/Config.in +++ /dev/null @@ -1,36 +0,0 @@ - -config ADK_PACKAGE_COLLECTD - prompt "collectd.......................... Lightweight system statistics collection daemon" - tristate - default n - select ADK_PACKAGE_LIBPTHREAD - help - collectd is a small daemon which collects system information - every 10 seconds. The values are then sent to a multicast group - to be stored in RRD files by a server process. - - http://verplant.org/collectd/ - -config ADK_PACKAGE_COLLECTD_CPU - prompt "Enable cpu support" - bool - default y - depends on ADK_PACKAGE_COLLECTD - -config ADK_PACKAGE_COLLECTD_LOAD - prompt "Enable load support" - bool - default y - depends on ADK_PACKAGE_COLLECTD - -config ADK_PACKAGE_COLLECTD_MEMORY - prompt "Enable memory support" - bool - default y - depends on ADK_PACKAGE_COLLECTD - -config ADK_PACKAGE_COLLECTD_PING - prompt "Enable ping support" - bool - default y - depends on ADK_PACKAGE_COLLECTD diff --git a/package/collectd/Makefile b/package/collectd/Makefile index 84de63ccb..222f46ab3 100644 --- a/package/collectd/Makefile +++ b/package/collectd/Makefile @@ -13,6 +13,12 @@ PKG_DEPENDS:= libpthread PKG_URL:= http://collectd.org PKG_SITES:= http://collectd.org/files/ +PKG_FLAVOURS:= CPU LOAD MEMORY PING +PKGFD_CPU:= collect CPU statistics +PKGFD_LOAD:= collect system load statistics +PKGFD_MEMORY:= collect memory usage statistics +PKGFD_PING:= enable ping statistic plugin + include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,COLLECTD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) @@ -30,7 +36,7 @@ ifneq (${ADK_PACKAGE_COLLECTD_PING},y) DISABLE_PING:=--disable-ping endif -CONFIGURE_STYLE= gnu +CONFIGURE_STYLE:= gnu CONFIGURE_ARGS+= --disable-apache \ --disable-apcups \ --disable-apple_sensors \ @@ -90,8 +96,8 @@ CONFIGURE_ARGS+= --disable-apache \ --with-nan-emulation XAKE_FLAGS+= LIBS='-lm' -BUILD_STYLE= auto -INSTALL_STYLE= auto +BUILD_STYLE:= auto +INSTALL_STYLE:= auto post-install: ${INSTALL_DIR} ${IDIR_COLLECTD}/usr/sbin ${IDIR_COLLECTD}/usr/lib/collectd |