summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:25:07 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2009-11-18 09:57:39 +0100
commit0149b9c479961ddc8eda1551e73113613338a1d2 (patch)
tree23d9790d15cd13f91d9749d4019358aef3c86cc5
parentc24888cefd27937b582594328537afdcfcc15fc5 (diff)
mokonnect: new recipe from SHR
-rw-r--r--recipes/connman/mokonnect_svn.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes/connman/mokonnect_svn.bb b/recipes/connman/mokonnect_svn.bb
new file mode 100644
index 0000000000..dec35e029e
--- /dev/null
+++ b/recipes/connman/mokonnect_svn.bb
@@ -0,0 +1,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 \
+"
+