summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-02-12 02:01:25 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2007-02-12 02:01:25 +0000
commit05d19a45f4549cbbf576019eae137262323b11e4 (patch)
tree696625bbd0449901410cfd8cebccf5db803de1ac
parentc2d082906d966d8d6f8017edd0a7cb7d378a6dbb (diff)
kakasi: add kakasi, the "kanji-kana simple converter". It converts Kanji characters to Hiragana, Katakana or Romaji.
-rw-r--r--packages/kakasi/.mtn2git_empty0
-rw-r--r--packages/kakasi/files/.mtn2git_empty0
-rw-r--r--packages/kakasi/files/makefile.patch11
-rw-r--r--packages/kakasi/kakasi-native_2.3.4.bb11
-rw-r--r--packages/kakasi/kakasi.inc9
-rw-r--r--packages/kakasi/kakasi_2.3.4.bb14
6 files changed, 45 insertions, 0 deletions
diff --git a/packages/kakasi/.mtn2git_empty b/packages/kakasi/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/kakasi/.mtn2git_empty
diff --git a/packages/kakasi/files/.mtn2git_empty b/packages/kakasi/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/kakasi/files/.mtn2git_empty
diff --git a/packages/kakasi/files/makefile.patch b/packages/kakasi/files/makefile.patch
new file mode 100644
index 0000000000..4373a498c1
--- /dev/null
+++ b/packages/kakasi/files/makefile.patch
@@ -0,0 +1,11 @@
+--- kakasi-2.3.4/Makefile.am.old 2006-04-23 18:11:57.000000000 +0200
++++ kakasi-2.3.4/Makefile.am 2006-04-23 18:12:07.000000000 +0200
+@@ -17,7 +17,7 @@
+
+ kanwadict:
+ if test -f kakasidict; then \
+- ITAIJIDICT="itaijidict" src/mkkanwa$(EXEEXT) $@ kakasidict; \
++ ITAIJIDICT="itaijidict" mkkanwa$(EXEEXT) $@ kakasidict; \
+ fi
+
+ dist-hook:
diff --git a/packages/kakasi/kakasi-native_2.3.4.bb b/packages/kakasi/kakasi-native_2.3.4.bb
new file mode 100644
index 0000000000..86a4c81b44
--- /dev/null
+++ b/packages/kakasi/kakasi-native_2.3.4.bb
@@ -0,0 +1,11 @@
+require kakasi.inc
+
+inherit native
+
+S = "${WORKDIR}/kakasi-${PV}"
+
+do_stage() {
+ install src/mkkanwa ${STAGING_BINDIR}
+}
+
+
diff --git a/packages/kakasi/kakasi.inc b/packages/kakasi/kakasi.inc
new file mode 100644
index 0000000000..b931a84958
--- /dev/null
+++ b/packages/kakasi/kakasi.inc
@@ -0,0 +1,9 @@
+DESCRIPTION = "Kanji Kana Simple Inverter"
+HOMEPAGE = "http://kakasi.namazu.org/"
+LICENSE = "GPL"
+
+SRC_URI = "http://kakasi.namazu.org/stable/kakasi-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = " --enable-shared"
diff --git a/packages/kakasi/kakasi_2.3.4.bb b/packages/kakasi/kakasi_2.3.4.bb
new file mode 100644
index 0000000000..aabfd20368
--- /dev/null
+++ b/packages/kakasi/kakasi_2.3.4.bb
@@ -0,0 +1,14 @@
+require kakasi.inc
+
+SECTION = "utils"
+DEPENDS = "kakasi-native"
+
+SRC_URI += "file://makefile.patch;patch=1"
+
+do_stage () {
+ install -m 0644 lib/*.h ${STAGING_INCDIR}
+ install lib/.libs/libkakasi.so* ${STAGING_LIBDIR}
+}
+
+
+