summaryrefslogtreecommitdiff
path: root/packages/openmoko-pim/openmoko-dates_svn.bb
blob: 7bfd42c3b6ee983b8ac6e0e711c325d7f0dc24f5 (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
DESCRIPTION = "The OpenMoko Dates Application"
SECTION = "openmoko/pim"
LICENSE = "GPL"
DEPENDS = "glib-2.0 gtk+ libglade eds-dbus openmoko-libs"
RDEPENDS = "libedata-cal"
PV = "0.1+svnr${SRCREV}"
PR = "r9"

inherit gnome autotools pkgconfig gtk-icon-cache

SRC_URI = "svn://svn.o-hand.com/repos/dates/branches/;module=openmoko;proto=http \
           file://openmoko-dates.png \
           file://openmoko-dates.desktop"

S = "${WORKDIR}/openmoko"

EXTRA_OECONF = "--enable-omoko"

do_install_append () {
    rm -rf ${D}${datadir}/icons
    rm -rf ${D}${datadir}/applications/dates.desktop
	install -d ${D}/${datadir}/pixmaps
	install -m 0644 ${WORKDIR}/openmoko-dates.png ${D}/${datadir}/pixmaps/
	install -m 0644 ${WORKDIR}/openmoko-dates.desktop ${D}${datadir}/applications/
}

FILES_${PN} += "${datadir}/pixmaps \
                ${datadir}/dates/"