]> code.ossystems Code Review - meta-freescale.git/commitdiff
web-sysmon: add recipe
authorZhenhua Luo <zhenhua.luo@freescale.com>
Thu, 27 Jun 2013 09:25:14 +0000 (09:25 +0000)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Fri, 28 Jun 2013 02:57:35 +0000 (10:57 +0800)
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>
meta-fsl-ppc/recipes-tools/web-sysmon/web-sysmon_git.bb [new file with mode: 0644]

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 (file)
index 0000000..1b2e070
--- /dev/null
@@ -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
+}