diff options
Diffstat (limited to 'packages/freesmartphone/py-odeviced_svn.bb')
-rw-r--r-- | packages/freesmartphone/py-odeviced_svn.bb | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/packages/freesmartphone/py-odeviced_svn.bb b/packages/freesmartphone/py-odeviced_svn.bb index cc4f18cdf6..0819499ed6 100644 --- a/packages/freesmartphone/py-odeviced_svn.bb +++ b/packages/freesmartphone/py-odeviced_svn.bb @@ -2,21 +2,30 @@ DESCRIPTION = "The Open Device Daemon Prototype in Python" HOMEPAGE = "http://www.freesmartphone.org" AUTHOR = "Michael 'Mickey' Lauer <mlauer@vanille-media.de>" SECTION = "console/network" -DEPENDS = "python" +DEPENDS = "python-cython-native python-pyrex-native" LICENSE = "GPLv2" -PV = "0.0+svnr${SRCREV}" +PV = "0.7.9+svnr${SRCREV}" PR = "r0" -inherit distutils +inherit distutils update-rc.d -#inherit update-rc.d -#INITSCRIPT_NAME = "py-odeviced" -#INITSCRIPT_PARAMS = "defaults 20" +INITSCRIPT_NAME = "odeviced" +INITSCRIPT_PARAMS = "defaults 20" -SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=py-odeviced" +SRC_URI = "svn://projects.linuxtogo.org/svn/smartphones/trunk/software;module=py-odeviced \ + file://odeviced \ + file://odeviced.conf" S = "${WORKDIR}/py-odeviced" +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} +} + RDEPENDS_${PN} += "\ python-dbus \ python-pygobject \ " + +FILES_${PN} += "${sysconfdir}" |