summaryrefslogtreecommitdiff
path: root/packages/openmoko-system/ompower_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/openmoko-system/ompower_git.bb')
-rw-r--r--packages/openmoko-system/ompower_git.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/openmoko-system/ompower_git.bb b/packages/openmoko-system/ompower_git.bb
new file mode 100644
index 0000000000..be3e7bf103
--- /dev/null
+++ b/packages/openmoko-system/ompower_git.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Openmoko Power State handling daemon via DBUS"
+LICENSE = "MIT BSD"
+DEPENDS = "ecore edbus"
+PV = "0.0.0+svnr${SRCREV}"
+PR = "r2"
+RDEPENDS = "initscripts"
+
+SRCNAME = "ompower"
+S = "${WORKDIR}/${PN}"
+
+inherit e
+
+#SRC_URI = "file://${HOME}/work/ompower"
+SRC_URI = "svn://svn.openmoko.org/developers/raster/;module=ompower;proto=http"
+
+SRC_URI += "file://ompower-init"
+inherit update-rc.d
+do_install_prepend() {
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/ompower-init ${D}${sysconfdir}/init.d/ompower
+}
+
+INITSCRIPT_NAME = "ompower"
+INITSCRIPT_PARAMS = "defaults 21"