summaryrefslogtreecommitdiff
path: root/recipes/openmoko-system/ompower_svn.bb
blob: 3f1e026aeeb89db1549f2cd9b71fc48f48ac3190 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "Openmoko Power State handling daemon via DBUS"
LICENSE = "MIT BSD"
DEPENDS = "ecore edbus"
SRCREV = "4727"
PV = "0.0.0+svnr${SRCPV}"
PR = "r5"
RDEPENDS_${PN} = "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"