summaryrefslogtreecommitdiff
path: root/recipes/rosetta/rosetta_cvs.bb
blob: 3d54ecfae1c8b0c762e5e80c75240f64a65b3d72 (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
SECTION = "x11/utils"
SRCDATE = "20090514"
PV = "0.0+cvs${SRCDATE}"
DEPENDS = "gtk+ libgpewidget virtual/libx11 libxrandr libxft libxtst libxext libxau \
	   virtual/libintl"
DESCRIPTION = "Multistroke / full word handwriting recognition for X"
LICENSE = "GPL"

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

inherit pkgconfig gettext

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

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

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