diff options
author | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-05-05 19:11:03 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2008-05-05 19:11:03 +0000 |
commit | 66af3461a3fdf3eb7ceb76bb2a04e66be8283b8c (patch) | |
tree | 78f52aa29ac0f42c4aea59a4da6e8dab0c701ca4 /packages/freesmartphone/python-odeviced_git.bb | |
parent | 9a1d156623f21d1f66c4314230056c8499d556f5 (diff) | |
parent | 50468ef124004fb33fa463842b2042de16082159 (diff) |
merge of '2de318fc2a95854259cdc31038f89dae83fb0121'
and 'f94c84daf04e33f569fffdd3b60be112b594c750'
Diffstat (limited to 'packages/freesmartphone/python-odeviced_git.bb')
-rw-r--r-- | packages/freesmartphone/python-odeviced_git.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/freesmartphone/python-odeviced_git.bb b/packages/freesmartphone/python-odeviced_git.bb new file mode 100644 index 0000000000..d380473878 --- /dev/null +++ b/packages/freesmartphone/python-odeviced_git.bb @@ -0,0 +1,35 @@ +DESCRIPTION = "The Open Device Daemon Prototype in Python" +HOMEPAGE = "http://www.freesmartphone.org/mediawiki/index.php/Implementations/OpenDeviceDaemon" +AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" +SECTION = "console/network" +DEPENDS = "python-cython-native python-pyrex-native" +LICENSE = "GPLv2" +PV = "0.7.9+gitr${SRCREV}" +PR = "r0" + +inherit distutils update-rc.d + +INITSCRIPT_NAME = "odeviced" +INITSCRIPT_PARAMS = "defaults 20" + +SRC_URI = "${FREESMARTPHONE_GIT}/python-odeviced.git;protocol=git;branch=master \ + file://odeviced \ + file://odeviced.conf" +S = "${WORKDIR}/git" + +do_install_append() { + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/odeviced ${D}${sysconfdir}/init.d/ + install -m 0644 ${WORKDIR}/odeviced.conf ${D}${sysconfdir} + install -d ${D}${sysconfdir}/dbus-1/system.d/ + mv -f ${D}${datadir}/etc/dbus-1/system.d/odeviced.conf ${D}${sysconfdir}/dbus-1/system.d/ +} + +RDEPENDS_${PN} += "\ + python-dbus \ + python-pygobject \ + python-pyrtc \ + python-syslog \ +" + +FILES_${PN} += "${sysconfdir}" |