pisi: new recipe from SHR
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 08:04:52 +0000 (09:04 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Wed, 18 Nov 2009 08:57:13 +0000 (09:57 +0100)
recipes/openmoko-3rdparty/pisi_0.4.7.bb [new file with mode: 0644]

diff --git a/recipes/openmoko-3rdparty/pisi_0.4.7.bb b/recipes/openmoko-3rdparty/pisi_0.4.7.bb
new file mode 100644 (file)
index 0000000..b3425d2
--- /dev/null
@@ -0,0 +1,33 @@
+DESCRIPTION = "PISI is synchronizing information"
+AUTHOR = "Michael Pilgermann"
+PRIORITY = "optional"
+LICENSE = "GPL"
+HOMEPAGE = "http://projects.openmoko.org/projects/pisi/"
+SRCNAME = "pisi"
+DEPENDS = "python-native python"
+RDEPENDS = "python-vobject python python-pygtk python-pygobject python-pycairo\
+           python-gdata python-webdav python-ldap python-epydoc python-core\
+           python-dateutil python-sqlite3 python-netserver python-netclient\
+           python-misc"
+
+PACKAGE_ARCH = "all"
+
+PR = "r0"
+
+SRC_URI = "http://projects.openmoko.org/frs/download.php/907/pisi-src-${PV}.tar.gz"
+
+FILES_${PN} += "/opt/pisi \
+                ${datadir}/pixmaps \
+                ${datadir}/applications \
+                /home"
+CONFFILES_${PN} += "/home/root/.${PN}/conf.default"
+
+do_compile() {
+       ${STAGING_BINDIR_NATIVE}/python ${S}/setup.py build ${D}
+}
+
+do_install() {
+       ${STAGING_BINDIR_NATIVE}/python ${S}/setup.py install ${D}
+       rm -rf ${D}/opt/pisi/build/
+       rm -rf ${D}/opt/pisi/patches/
+}