summaryrefslogtreecommitdiff
path: root/packages/freesmartphone/python-ousaged_git.bb
diff options
context:
space:
mode:
authorJan Lübbe <jluebbe@debian.org>2008-05-17 11:05:45 +0000
committerJan Lübbe <jluebbe@debian.org>2008-05-17 11:05:45 +0000
commitd7da261f228a694699f9ef66a1d5a200a335a141 (patch)
treedb1a2b6caf641a4ba3cab14b770d0cf92630f7d6 /packages/freesmartphone/python-ousaged_git.bb
parentfa719019d592dd4724f1bea024131e7524d9d44e (diff)
freesmartphone: add a fso-image and fix bb-files
Diffstat (limited to 'packages/freesmartphone/python-ousaged_git.bb')
-rw-r--r--packages/freesmartphone/python-ousaged_git.bb36
1 files changed, 36 insertions, 0 deletions
diff --git a/packages/freesmartphone/python-ousaged_git.bb b/packages/freesmartphone/python-ousaged_git.bb
new file mode 100644
index 0000000000..f9ba2856eb
--- /dev/null
+++ b/packages/freesmartphone/python-ousaged_git.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "The Open Usage Daemon Prototype in Python"
+HOMEPAGE = "http://www.freesmartphone.org/mediawiki/index.php/Implementations/OpenUsageDaemon"
+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 = "ousaged"
+INITSCRIPT_PARAMS = "defaults 20"
+
+SRC_URI = "\
+ ${FREESMARTPHONE_GIT}/usaged.git;protocol=git;branch=master \
+ file://ousaged \
+"
+S = "${WORKDIR}/git"
+
+do_install_append() {
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/ousaged ${D}${sysconfdir}/init.d/
+ install -d ${D}${sysconfdir}/dbus-1/system.d/
+ mv -f ${D}${datadir}/etc/dbus-1/system.d/ousaged.conf ${D}${sysconfdir}/dbus-1/system.d/
+}
+
+RDEPENDS_${PN} += "\
+ python-dbus \
+ python-pygobject \
+ python-pyrtc \
+ python-syslog \
+ python-odeviced \
+"
+
+FILES_${PN} += "${sysconfdir}"