summaryrefslogtreecommitdiff
path: root/packages/openmoko-system/ompower_svn.bb
diff options
context:
space:
mode:
authorJohn Lee <john_lee@openmoko.org>2008-12-16 22:02:19 +0800
committerJohn Lee <john_lee@openmoko.org>2008-12-18 23:25:56 +0800
commit04f18d61ab89da14c2f4aa59de0bc09f95e42aaa (patch)
tree350a9e4b8493cbed47ebf9fff4e82352355331f4 /packages/openmoko-system/ompower_svn.bb
parentfd1aaa7cb993049e1eb3503c5fd932e74b667999 (diff)
ompower_git.bb: rename to ompower_svn. It's obviously using it...
Diffstat (limited to 'packages/openmoko-system/ompower_svn.bb')
-rw-r--r--packages/openmoko-system/ompower_svn.bb24
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/openmoko-system/ompower_svn.bb b/packages/openmoko-system/ompower_svn.bb
new file mode 100644
index 0000000000..ff16910901
--- /dev/null
+++ b/packages/openmoko-system/ompower_svn.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 = "r3"
+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"