summaryrefslogtreecommitdiff
path: root/recipes/connman/mokonnect_svn.bb
blob: dec35e029e1fb9559e4f1dde65eef78e13287c06 (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
32
33
34
35
36
37
38
39
DESCRIPTION = "mokonnect is an e17 frontend to connmand"
HOMEPAGE = "http://www.assembla.com/wiki/show/shrdev"
AUTHOR = "Fate"
LICENSE = "GPLv2"
SECTION = "e/apps"
RDEPENDS = "python-elementary connman connman-plugin-wifi"

PV = "0.4+svnr${SRCPV}"
PR = "r2"

SRC_URI = "svn://subversion.assembla.com/svn/shrdev;module=Mokonnect/trunk;proto=http"

S = "${WORKDIR}/Mokonnect/trunk"

do_install() {
	install -d ${D}${datadir}/mokonnect
	for pyfile in *.py
	do
		install -m 644 $pyfile ${D}${datadir}/mokonnect/
	done
	chmod 755 ${D}${datadir}/mokonnect/mokonnect.py

	install -d ${D}${datadir}/applications
	install -m 644 mokonnect.desktop ${D}${datadir}/applications/

	install -d ${D}${datadir}/pixmaps
	install -m 644 mokonnect.png ${D}${datadir}/pixmaps/

	install -d ${D}${bindir}
	ln -sf ${datadir}/mokonnect/mokonnect.py ${D}${bindir}/mokonnect
}

FILES_${PN} = "\
${datadir}/mokonnect \
${datadir}/applications/* \
${datadir}/pixmaps/* \
${bindir}/mokonnect \
"