summaryrefslogtreecommitdiff
path: root/recipes/rosetta/rosetta_cvs.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/rosetta/rosetta_cvs.bb')
-rw-r--r--recipes/rosetta/rosetta_cvs.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes/rosetta/rosetta_cvs.bb b/recipes/rosetta/rosetta_cvs.bb
new file mode 100644
index 0000000000..726b68aa81
--- /dev/null
+++ b/recipes/rosetta/rosetta_cvs.bb
@@ -0,0 +1,27 @@
+SECTION = "x11/utils"
+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;patch=1"
+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
+}