summaryrefslogtreecommitdiff
path: root/recipes/openmoko-3rdparty/pisi_0.4.9.bb
blob: 0a5123365a2682cf80e51712428b9b1ac1ead3b7 (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
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/934/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/
}