gmailfs: update python-libgmail and DEPENDS
authorKoen Kooi <koen@openembedded.org>
Sat, 10 Dec 2005 18:58:15 +0000 (18:58 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 10 Dec 2005 18:58:15 +0000 (18:58 +0000)
packages/fuse/gmailfs_0.6.bb [new file with mode: 0644]
packages/python/python-libgmail_0.1.3.3.bb [new file with mode: 0644]

diff --git a/packages/fuse/gmailfs_0.6.bb b/packages/fuse/gmailfs_0.6.bb
new file mode 100644 (file)
index 0000000..fbac857
--- /dev/null
@@ -0,0 +1,22 @@
+DESCRIPTION = "GmailFS provides a mountable Linux filesystem which uses your Gmail account as its storage medium."
+HOMEPAGE = "http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html"
+MAINTAINER = "koen Kooi <koen@handhelds.org>"
+LICENSE = "GPL"
+
+DEPENDS = "fuse libgmail python-fuse"
+RDEPENDS = "fuse libgmail python-fuse python-unixadmin  python-lang python-textutils python-core"
+
+SRC_URI = "http://richard.jones.name/google-hacks/gmail-filesystem/gmailfs-0.6.tar.gz"
+
+
+do_install() {
+install -d ${D}${datadir}/gmailfs
+install -d ${D}${bindir}
+install -d ${D}${sysconfdir}
+
+install -m 755 ${S}/gmailfs.py ${D}${datadir}/gmailfs/
+install -m 755 ${S}/mount.gmailfs ${D}${bindir}
+install -m 644 ${S}/*.conf ${D}${sysconfdir}
+
+}
+
diff --git a/packages/python/python-libgmail_0.1.3.3.bb b/packages/python/python-libgmail_0.1.3.3.bb
new file mode 100644 (file)
index 0000000..f7d91f3
--- /dev/null
@@ -0,0 +1,20 @@
+DESCRIPTION = "Python Bindings for Google's Gmail Service"
+SECTION = "devel/python"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+RDEPENDS = "python-core python-netclient python-email python-mime python-pprint python-re python-pickle"
+SRCNAME = "libgmail"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit distutils-base
+
+do_install() {
+       install -d ${D}${libdir}/${PYTHON_DIR}
+       for file in *.py
+       do
+               install -m 0755 ${file} ${D}${libdir}/${PYTHON_DIR}
+       done
+}