summaryrefslogtreecommitdiff
path: root/packages/poboxserver
diff options
context:
space:
mode:
authorMichael Krelin <hacker@klever.net>2007-07-08 23:06:02 +0000
committerMichael Krelin <hacker@klever.net>2007-07-08 23:06:02 +0000
commit163a8c10fc010d1f8039c6bc8552393bf2ee020f (patch)
treeb968d11f2e861e11e21bf2e2f5653e3166f6488e /packages/poboxserver
parent36d37c9550cdf0148c28c9e7c5e80d0a6331789e (diff)
poboxserver: adjust to its new home in /usr
Diffstat (limited to 'packages/poboxserver')
-rw-r--r--packages/poboxserver/poboxserver/pbserver.sh2
-rw-r--r--packages/poboxserver/poboxserver_1.2.5.bb3
2 files changed, 3 insertions, 2 deletions
diff --git a/packages/poboxserver/poboxserver/pbserver.sh b/packages/poboxserver/poboxserver/pbserver.sh
index 8e5a1bda26..e6067ed6ff 100644
--- a/packages/poboxserver/poboxserver/pbserver.sh
+++ b/packages/poboxserver/poboxserver/pbserver.sh
@@ -21,7 +21,7 @@ start)
echo -n "Start pbserver"
# make sure lo interface is configured (otherwise qpobox will not bind to pbserver)
ifconfig lo|grep 127.0.0.1 >/dev/null || ifconfig lo 127.0.0.1
- cd /opt/QtPalmtop/pobox; ./pbserver > /dev/null &
+ cd @palmtopdir@/pobox; ./pbserver > /dev/null &
echo
sleep 1
;;
diff --git a/packages/poboxserver/poboxserver_1.2.5.bb b/packages/poboxserver/poboxserver_1.2.5.bb
index b7e2ed7179..9f9500f67c 100644
--- a/packages/poboxserver/poboxserver_1.2.5.bb
+++ b/packages/poboxserver/poboxserver_1.2.5.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "OpenPOBox is an open source implementation of a 'Predictive Opera
SECTION = "inputmethods"
LICENSE = "GPL"
DEPENDS = "perl-native ruby-native nkf-native"
-PR = "r4"
+PR = "r5"
SRC_URI = "${SOURCEFORGE_MIRROR}/gakusei/pobox-${PV}.tar.bz2 \
http://www.vanille.de/mirror/pbserver-${PV}.tar.gz \
@@ -36,4 +36,5 @@ do_install() {
install -m 0644 ${WORKDIR}/pbserver/learndic ${D}${palmtopdir}/pobox/
install -d ${D}${sysconfdir}/init.d/
install -m 0755 ${WORKDIR}/pbserver.sh ${D}${sysconfdir}/init.d/pbserver
+ sed -i -e 's,@palmtopdir@,${palmtopdir},g' ${D}${sysconfdir}/init.d/pbserver
}