[oe-commits] Klaus Kurzmann : mokonnect: new recipe

git version control git at git.openembedded.org
Sat Jul 11 14:39:50 UTC 2009


Module: openembedded.git
Branch: shr/import
Commit: d9bcf03260047bc61c92d77330a6d0479d16fda8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d9bcf03260047bc61c92d77330a6d0479d16fda8

Author: Klaus Kurzmann <mok at fluxnetz.de>
Date:   Sat Jul 11 16:39:41 2009 +0200

mokonnect: new recipe

Signed-off-by: Klaus Kurzmann <mok at fluxnetz.de>

---

 conf/distro/include/shr-autorev.inc         |    2 +
 recipes/connman/mokonnect/mokonnect.desktop |   13 ++++++++
 recipes/connman/mokonnect_svn.bb            |   42 +++++++++++++++++++++++++++
 3 files changed, 57 insertions(+), 0 deletions(-)

diff --git a/conf/distro/include/shr-autorev.inc b/conf/distro/include/shr-autorev.inc
index 344e288..98d6c52 100644
--- a/conf/distro/include/shr-autorev.inc
+++ b/conf/distro/include/shr-autorev.inc
@@ -105,3 +105,5 @@ SRCREV_pn-connman = "1916aa601dafa4915c0f0a47a114b1007dadb09c"
 SRCREV_pn-omgps = "${AUTOREV}"
 SRCREV_pn-shr-launcher = "${AUTOREV}"
 SRCREV_pn-e-tasks = "${AUTOREV}"
+SRCREV_pn-mokonnect = "${AUTOREV}"
+
diff --git a/recipes/connman/mokonnect/mokonnect.desktop b/recipes/connman/mokonnect/mokonnect.desktop
new file mode 100644
index 0000000..0f24087
--- /dev/null
+++ b/recipes/connman/mokonnect/mokonnect.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Mokonnect
+TryExec=/usr/bin/mokonnect.py
+GenericName=Mokonnect
+Comment=Connection Manager for Openmoko Phone
+StartupNotify=true
+Exec=/usr/bin/mokonnect.py
+Terminal=false
+Type=Application
+Categories=Settings;
+Icon=mokonnect.png
diff --git a/recipes/connman/mokonnect_svn.bb b/recipes/connman/mokonnect_svn.bb
new file mode 100644
index 0000000..1daf575
--- /dev/null
+++ b/recipes/connman/mokonnect_svn.bb
@@ -0,0 +1,42 @@
+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"
+
+PV = "0.2+svnr${SRCREV}"
+PR = "r0"
+
+SRC_URI = "svn://subversion.assembla.com/svn/shrdev;module=Mokonnect/trunk;proto=http \
+file://mokonnect.desktop"
+
+S = "${WORKDIR}/Mokonnect/trunk"
+
+inherit distutils-base
+
+
+PY_FILES = "mkbase.py mkdev_usbnet.py mkdev_wifi.py mkmenu.py qdbus.py"
+
+do_install() {
+	install -d ${D}${libdir}
+	install -d ${D}${libdir}/${PYTHON_DIR}
+	install -d ${D}${libdir}/${PYTHON_DIR}/site-packages
+
+	for f in ${PY_FILES}
+	do
+		install -m 0644 $f ${D}${libdir}/${PYTHON_DIR}/site-packages/
+	done
+
+	install -d ${D}${bindir}
+	install -m 755 mokonnect.py ${D}${bindir}/
+
+	install -d ${D}${datadir}/applications
+	install -m 644 ${WORKDIR}/mokonnect.desktop ${D}${datadir}/applications/
+
+	install -d ${D}${datadir}/pixmaps
+	install -m 644 mokonnect.png ${D}${datadir}/pixmaps/
+}
+
+FILES_${PN} += " ${datadir}/*/*"
+





More information about the Openembedded-commits mailing list