summaryrefslogtreecommitdiff
path: root/packages/freesmartphone/py-odeviced_svn.bb
blob: 0819499ed634d0ff550e2dd8b0fb4984db8845cb (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
26
27
28
29
30
31
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-cython-native python-pyrex-native"
LICENSE = "GPLv2"
PV = "0.7.9+svnr${SRCREV}"
PR = "r0"

inherit distutils update-rc.d

INITSCRIPT_NAME = "odeviced"
INITSCRIPT_PARAMS = "defaults 20"

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}"