summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-01 13:40:09 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-01-01 13:40:09 +0000
commit5d85b824f0792e763c747d2623cd243b1d0d8c69 (patch)
tree2946851f863ec7ba39888deddc50c4474e8c5154
parent953f7ef25dc85bf875556a7a43bc77b7cbc39e48 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/01/01 14:02:52+01:00 dyndns.org!reenoo Merge oe-devel@oe-devel.bkbits.net:openembedded into sugarcube.dyndns.org:/home2/oe/bakery/openembedded 2005/01/01 14:02:30+01:00 dyndns.org!reenoo rosetta: fix postinst. precalculations are done in the postinst now, which drastically reduces startup time of rosetta. BKrev: 41d6a839TuB6iCPVZ0LBzfNSX1z5qg
-rw-r--r--packages/rosetta/rosetta_cvs.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/packages/rosetta/rosetta_cvs.bb b/packages/rosetta/rosetta_cvs.bb
index e69de29bb2..3e09e2d86f 100644
--- a/packages/rosetta/rosetta_cvs.bb
+++ b/packages/rosetta/rosetta_cvs.bb
@@ -0,0 +1,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
+}