From 05d19a45f4549cbbf576019eae137262323b11e4 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Mon, 12 Feb 2007 02:01:25 +0000 Subject: kakasi: add kakasi, the "kanji-kana simple converter". It converts Kanji characters to Hiragana, Katakana or Romaji. --- packages/kakasi/.mtn2git_empty | 0 packages/kakasi/files/.mtn2git_empty | 0 packages/kakasi/files/makefile.patch | 11 +++++++++++ packages/kakasi/kakasi-native_2.3.4.bb | 11 +++++++++++ packages/kakasi/kakasi.inc | 9 +++++++++ packages/kakasi/kakasi_2.3.4.bb | 14 ++++++++++++++ 6 files changed, 45 insertions(+) create mode 100644 packages/kakasi/.mtn2git_empty create mode 100644 packages/kakasi/files/.mtn2git_empty create mode 100644 packages/kakasi/files/makefile.patch create mode 100644 packages/kakasi/kakasi-native_2.3.4.bb create mode 100644 packages/kakasi/kakasi.inc create mode 100644 packages/kakasi/kakasi_2.3.4.bb diff --git a/packages/kakasi/.mtn2git_empty b/packages/kakasi/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/kakasi/files/.mtn2git_empty b/packages/kakasi/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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} +} + + + -- cgit v1.2.3