initial collectd recipe
PATCH 1/1 initial collectd recipe
Based on initial version by Koen Kooi <[email protected]> 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
meta-oe/recipes-extended/collectd/collectd_5.1.0.bb new file +30 -0
@@ -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 +} +
Signature · 1 line
1.7.9.5
Quoted 2 lines · On Saturday 20 October 2012 12:25:15 Paul Eggleton wrote:
Based on initial version by Koen Kooi <[email protected]> Currently broken - attempts to rerun configure during
do_compile.
This was sent in error (wrong branch and hit enter too soon) - please ignore.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre