From patchwork Sat Oct 20 11:25:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [meta-oe] initial collectd recipe Date: Sat, 20 Oct 2012 11:25:15 -0000 From: Paul Eggleton X-Patchwork-Id: 38349 Message-Id: <1350732316-5310-1-git-send-email-paul.eggleton@linux.intel.com> To: openembedded-devel@lists.openembedded.org Based on initial version by Koen Kooi 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 +} +