summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2008-07-18 19:51:04 +0000
committerSerkan Kaba <serkan@gentoo.org>2008-07-18 19:51:04 +0000
commit01b5228e7b65598ac82242f6b7eb9af893330aa9 (patch)
treee8a0d5c7c43cb9739ebb765975a404d4f61661c1 /app-text/zemberek-server/files
parentRemove unneeded runtime dependency on jakarta-oro-2.0 (diff)
downloadgentoo-2-01b5228e7b65598ac82242f6b7eb9af893330aa9.tar.gz
gentoo-2-01b5228e7b65598ac82242f6b7eb9af893330aa9.tar.bz2
gentoo-2-01b5228e7b65598ac82242f6b7eb9af893330aa9.zip
Initial ebuild. Fixes bug #156100.
(Portage version: 2.2_rc1/cvs/Linux 2.6.24-gentoo-r8 x86_64)
Diffstat (limited to 'app-text/zemberek-server/files')
-rw-r--r--app-text/zemberek-server/files/pre1
-rw-r--r--app-text/zemberek-server/files/zemberek-server16
2 files changed, 17 insertions, 0 deletions
diff --git a/app-text/zemberek-server/files/pre b/app-text/zemberek-server/files/pre
new file mode 100644
index 000000000000..17b146c4b522
--- /dev/null
+++ b/app-text/zemberek-server/files/pre
@@ -0,0 +1 @@
+export LC_ALL="tr_TR.UTF-8"
diff --git a/app-text/zemberek-server/files/zemberek-server b/app-text/zemberek-server/files/zemberek-server
new file mode 100644
index 000000000000..c5b4ddd434fb
--- /dev/null
+++ b/app-text/zemberek-server/files/zemberek-server
@@ -0,0 +1,16 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header:
+
+start() {
+ ebegin "Starting zemberek-server"
+ /sbin/start-stop-daemon -b --start --quiet --pidfile /var/run/zemberek-server.pid --make-pidfile --exec /usr/bin/zemberek-server
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping zemberek-server"
+ start-stop-daemon --stop --pidfile /var/run/zemberek-server.pid --quiet
+ eend $?
+}