Patchwork [meta-fsl-ppc,26/26] web-sysmon: add recipe

login
register
mail settings
Submitter Ting Liu
Date June 27, 2013, 9:25 a.m.
Message ID <1372325114-4423-17-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/52449/
State Accepted
Delegated to: Zhenhua Luo
Headers show

Comments

Ting Liu - June 27, 2013, 9:25 a.m.
From: Zhenhua Luo <zhenhua.luo@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@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

Patch

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
+}