summaryrefslogtreecommitdiff
path: root/packages/kakasi
diff options
context:
space:
mode:
authorRod Whitby <rod@whitby.id.au>2007-02-12 06:16:39 +0000
committerRod Whitby <rod@whitby.id.au>2007-02-12 06:16:39 +0000
commit61cd1b840978cd8e3afdb1c643557d5b1b9a4a98 (patch)
tree51ab67ddc3f868d78d0958f21d767dd756ed9c31 /packages/kakasi
parent613606be24cae0a114b2d1aa81ddca0d44b61a10 (diff)
parent312b7a20c3eafba35731d900a1705b353d7ab425 (diff)
merge of '879c2e35f17da4b01ea93a7d8a286583b9eec1f6'
and 'bae5b516fbb7c4ed7939b4dbb39c62866ef76d98'
Diffstat (limited to 'packages/kakasi')
-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}
+}
+
+
+