summaryrefslogtreecommitdiff
path: root/package/collectd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-23 11:34:44 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-23 11:34:44 +0100
commit2c3389799c46724a4922179ff70d1230ccbe5b59 (patch)
tree2e890bacc226d2bef8518e38a935a0f6252d3a32 /package/collectd
parent9183b983ea3f2b20359eaa7cf3a8776af301c059 (diff)
fixes for new pkgmaker generated menu
Diffstat (limited to 'package/collectd')
-rw-r--r--package/collectd/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/package/collectd/Makefile b/package/collectd/Makefile
index 076fa0063..222f46ab3 100644
--- a/package/collectd/Makefile
+++ b/package/collectd/Makefile
@@ -6,7 +6,6 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= collectd
PKG_VERSION:= 4.7.0
PKG_RELEASE:= 1
-PKG_BUILDDEP+= libpthread
PKG_MD5SUM:= b077e3398bd6fac0e53e9df4794db264
PKG_DESCR:= System statistics collection daemon
PKG_SECTION:= console
@@ -14,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}))
@@ -31,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 \
@@ -91,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