summaryrefslogtreecommitdiff
path: root/package/collectd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/collectd/Makefile')
-rw-r--r--package/collectd/Makefile12
1 files changed, 9 insertions, 3 deletions
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