[oe] [meta-oe][PATCH] initial collectd recipe

Paul Eggleton paul.eggleton at linux.intel.com
Sat Oct 20 11:25:15 UTC 2012


Based on initial version by Koen Kooi <koen at beagleboard.org>
Currently broken - attempts to rerun configure during do_compile.
---
 .../recipes-extended/collectd/collectd_5.1.0.bb    |   30 ++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 meta-oe/recipes-extended/collectd/collectd_5.1.0.bb

diff --git a/meta-oe/recipes-extended/collectd/collectd_5.1.0.bb b/meta-oe/recipes-extended/collectd/collectd_5.1.0.bb
new file mode 100644
index 0000000..e4008c5
--- /dev/null
+++ b/meta-oe/recipes-extended/collectd/collectd_5.1.0.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "collectd is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD files."
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+DEPENDS = "rrdtool curl mysql5 net-snmp libpcap libxml2 yajl libgcrypt libtool"
+
+SRC_URI = "http://collectd.org/files/collectd-${PV}.tar.bz2"
+SRC_URI[md5sum] = "141570150b4608c0c567330f6f146e0f"
+SRC_URI[sha256sum] = "521d4be7df5bc1124b7b9ea88227e95839a5f7c1b704a5bde0f60f058ec6eecb"
+
+inherit autotools pythonnative
+
+# Floatingpoint layout, architecture dependent 
+# 'nothing', 'endianflip' or 'intswap'
+FPLAYOUT ?= "--with-fp-layout=nothing"
+
+EXTRA_OECONF = " \
+        ${FPLAYOUT} \
+        --disable-perl \
+        --with-libgcrypt=${STAGING_BINDIR_CROSS}/libgcrypt-config \
+"
+
+# 'compile' from libtool is missing in sysroots (${datadir}/libtool/config/compile)
+do_configure() {
+        aclocal
+	export GCRYPT_LDFLAGS=" "
+	oe_runconf
+}
+
-- 
1.7.9.5





More information about the Openembedded-devel mailing list