[meta-freescale] [meta-fsl-ppc][PATCH 26/26] web-sysmon: add recipe

b28495 at freescale.com b28495 at freescale.com
Thu Jun 27 02:25:14 PDT 2013


From: Zhenhua Luo <zhenhua.luo at freescale.com>

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 <zhenhua.luo at freescale.com>
---
 recipes-tools/web-sysmon/web-sysmon_git.bb |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
 create mode 100644 recipes-tools/web-sysmon/web-sysmon_git.bb

diff --git a/recipes-tools/web-sysmon/web-sysmon_git.bb b/recipes-tools/web-sysmon/web-sysmon_git.bb
new file mode 100644
index 0000000..1b2e070
--- /dev/null
+++ b/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
+}
-- 
1.7.3.4





More information about the meta-freescale mailing list