diff options
Diffstat (limited to 'packages/poboxserver/poboxserver_1.2.5.bb')
-rw-r--r-- | packages/poboxserver/poboxserver_1.2.5.bb | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/packages/poboxserver/poboxserver_1.2.5.bb b/packages/poboxserver/poboxserver_1.2.5.bb index 042923a66b..885f525929 100644 --- a/packages/poboxserver/poboxserver_1.2.5.bb +++ b/packages/poboxserver/poboxserver_1.2.5.bb @@ -1,7 +1,8 @@ DESCRIPTION = "OpenPOBox is an open source implementation of a 'Predictive Operation Based On eXample'" SECTION = "libs/inputmethods" LICENSE = "GPL" -DEPENDS = "perl-native ruby-native" +DEPENDS = "perl-native ruby-native nkf-native" +PR = "r2" BROKEN = "1" @@ -10,7 +11,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 +} |