summaryrefslogtreecommitdiff
path: root/recipes/openmoko-3rdparty/rtmom_0.1.3.bb
blob: 10ab501916a201289310407adb69ec3cb05c5ed4 (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
DESCRIPTION = "Elementary based client for Remember the Milk written in Python. "
AUTHOR = "Michael Pilgermann"
PRIORITY = "optional"
LICENSE = "GPL"
HOMEPAGE = "http://freshmeat.net/projects/rtmom"
SRCNAME = "rtmom"
DEPENDS = "python python-elementary"
RDEPENDS = "python-core pyrtm"
RSUGGESTS_${PN} = "python-simplejson"

PACKAGE_ARCH = "all"

PR = "r0"

SRC_URI = "http://cloud.github.com/downloads/kichkasch/rtmom/rtmom-src-${PV}.tar.gz"

FILES_${PN} += "/opt/rtmom \
                ${datadir}/pixmaps \
                ${datadir}/applications \
                ${datadir}/doc/rtmom"
CONFFILES_${PN} += "/usr/share/doc/${PN}/rtmom.conf.example"

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/rtmom/build/
	rm -rf ${D}/opt/rtmom/patches/
}