diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/poboxserver/files/OpenPOBox-1.25.diff | 6 | ||||
-rw-r--r-- | packages/poboxserver/poboxserver_1.2.5.bb | 24 |
2 files changed, 25 insertions, 5 deletions
diff --git a/packages/poboxserver/files/OpenPOBox-1.25.diff b/packages/poboxserver/files/OpenPOBox-1.25.diff index 127c1d3e37..d3add6d79c 100644 --- a/packages/poboxserver/files/OpenPOBox-1.25.diff +++ b/packages/poboxserver/files/OpenPOBox-1.25.diff @@ -1,12 +1,11 @@ diff -ur OpenPOBox.orig/asearch/Makefile OpenPOBox/asearch/Makefile --- OpenPOBox.orig/asearch/Makefile 2001-07-23 16:18:15.000000000 +0900 +++ OpenPOBox/asearch/Makefile 2003-06-14 17:52:12.668859200 +0900 -@@ -2,7 +2,7 @@ +@@ -2,7 +2,6 @@ # $Date: 2004/09/28 03:42:40 $ # $Revision: 1.6 $ # -CC = gcc -+CC = arm-linux-gcc CFLAGS = -Xcpluscomm WTANGLE = perl ../wtangle/wtangle @@ -25,12 +24,11 @@ diff -ur OpenPOBox.orig/romakana/rklist OpenPOBox/romakana/rklist diff -ur OpenPOBox.orig/server/Makefile.in OpenPOBox/server/Makefile.in --- OpenPOBox.orig/server/Makefile.in 2002-02-19 09:37:10.000000000 +0900 +++ OpenPOBox/server/Makefile.in 2003-06-14 17:52:12.678873600 +0900 -@@ -10,7 +10,7 @@ +@@ -10,7 +10,6 @@ # CFLAGS = -DUNIX @CFLAGS@ -Xcpluscomm \ # -I../asearch -I../romakana -I../include -g -CC = gcc -+CC = arm-linux-gcc CFLAGS = -DUNIX @CFLAGS@ \ -I/usr/local/include -I/usr/local/lib/glib/include \ -I@prefix@/include \ diff --git a/packages/poboxserver/poboxserver_1.2.5.bb b/packages/poboxserver/poboxserver_1.2.5.bb index 042923a66b..7ed58776a5 100644 --- a/packages/poboxserver/poboxserver_1.2.5.bb +++ b/packages/poboxserver/poboxserver_1.2.5.bb @@ -2,6 +2,8 @@ DESCRIPTION = "OpenPOBox is an open source implementation of a 'Predictive Opera SECTION = "libs/inputmethods" LICENSE = "GPL" DEPENDS = "perl-native ruby-native" +# DEPENDS += "nkf-native" +PR = "r1" BROKEN = "1" @@ -10,7 +12,27 @@ SRC_URI = "http://pitecan.com/OpenPOBox/dist/pobox-${PV}.tgz \ file://OpenPOBox-1.25.diff;patch=1" S = "${WORKDIR}/OpenPOBox" -inherit autotools +inherit autotools update-rc.d + +FILES_${PN} = "${palmtopdir}/pobox/* ${sysconfdir}/init.d/pbserver" + +INITSCRIPT_NAME = "pbserver" +INITSCRIPT_PARAMS = "start 99 5 . stop 01 0 ." EXTRA_OECONF = "--enable-lookup" PARALLEL_MAKE = "" + +do_compile() { + oe_runmake + cp ${S}/dict/data/fugodic ${WORKDIR}/pbserver/fugodic.txt + oe_runmake -C ${WORKDIR}/pbserver dic +} + +do_install() { + install -d ${D}${palmtopdir}/pobox/ + install -m 0755 ${S}/server/pbserver ${D}${palmtopdir}/pobox/ + install -m 0644 ${WORKDIR}/pbserver/staticdic ${D}${palmtopdir}/pobox/ + install -m 0644 ${WORKDIR}/pbserver/learndic ${D}${palmtopdir}/pobox/ + install -d ${D}${sysconfdir}/init.d/ + install -m 0755 ${WORKDIR}/pbserver/pbserver.sh ${D}${sysconfdir}/init.d/pbserver +} |