From 6185963d1664a768e234c452ab2f02c950a33d8e Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Thu, 27 Jun 2013 09:25:14 +0000 Subject: [PATCH] web-sysmon: add recipe This package contains shell and cgi scripts which maintain a database of sensor data and generate web pages containing graphs of sensor data. Signed-off-by: Zhenhua Luo --- .../web-sysmon/web-sysmon_git.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-fsl-ppc/recipes-tools/web-sysmon/web-sysmon_git.bb diff --git a/meta-fsl-ppc/recipes-tools/web-sysmon/web-sysmon_git.bb b/meta-fsl-ppc/recipes-tools/web-sysmon/web-sysmon_git.bb new file mode 100644 index 00000000..1b2e070d --- /dev/null +++ b/meta-fsl-ppc/recipes-tools/web-sysmon/web-sysmon_git.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "Web System Monitor Files" +SECTION = "web-sysmon" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" + +SRC_URI = "git://git.freescale.com/ppc/sdk/web-sysmon.git" +SRCREV = "40b47611378ef5c07d98f0f691bb146ae52dcdc1" + +S = "${WORKDIR}/git" + +FILES_${PN} += "/" + +RDEPENDS_${PN} = "lighttpd" + +do_install() { + install -d ${D}/etc + install -m 644 ${S}/lighttpd.conf ${D}/etc + install -d ${D}/usr/local/bin + install -m 755 ${S}/rrd/sens_update_rrd ${D}/usr/local/bin + cp -r ${S}/rrd ${D}/usr +} -- 2.40.1