aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/gwaterpas/gwaterpas_0.3.bb
blob: fac81fc8e10a51ebca8affc9ee9e8af48d8c92b1 (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
DESCRIPTION = "Gwaterpas"
AUTHOR   = "Kurt Van Dijck"
SECTION = "Utility"
PRIORITY = "optional"
HOMEPAGE = "http://wiki.openmoko.org/wiki/Gwaterpas"
LICENSE = "GPL"
DEPENDS = "fltk"

SRC_URI = "http://www.ecirc.net/openmoko/${P}.tgz \
	   file://sensors_fix.patch;apply=yes \
           file://remove_buildflags.patch;apply=yes \
	   file://desktop_fix.patch;apply=yes \
"

SRC_URI[md5sum] = "b3be847e3f89dbbcdca3e0184686bcef"
SRC_URI[sha256sum] = "23d56f10089722a33cde507cd398c82871dd14b80be1bc3f4cd2daee2cfcf641"

do_install() {
    install -d ${D}${bindir}
    install -m 0755 ${S}/gwaterpas ${D}${bindir}
    install -d ${D}/${datadir}/applications
    install -m 0644 ${S}/desktop ${D}/${datadir}/applications/gwaterpas.desktop
    install -d ${D}/${datadir}/gwaterpas
    install -m 0644 ${S}/icon.png ${D}/${datadir}/gwaterpas/icon.png
}