summaryrefslogtreecommitdiff
path: root/packages/rosetta/rosetta_cvs.bb
blob: 3e09e2d86f8dd72271069b126e9a06e7da537319 (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
SECTION = "x11/utils"
PV = "0.0cvs${CVSDATE}"
DEPENDS = "gtk+ libgpewidget x11 libxrandr libxft xtst xext xau"
DESCRIPTION = "Multistroke / full word handwriting recognition for X"
LICENSE = "GPL"

SRC_URI = "${HANDHELDS_CVS};module=rosetta \
	file://rosetta-makefile.patch;patch=1"
S = "${WORKDIR}/rosetta"
PR = "r3"

inherit pkgconfig

FILES_${PN} = "${sysconfdir} ${bindir} ${datadir}/pixmaps ${datadir}/applications ${datadir}/rosetta"

do_install () {
        oe_runmake PREFIX=${prefix} DESTDIR=${D} install-program
}

do_postinst () {
if test "x$D" != "x"; then
	exit 1
else
  ${prefix}/bin/rosetta -P
fi
}