diff options
Diffstat (limited to 'recipes/kakasi')
-rw-r--r-- | recipes/kakasi/files/makefile.patch | 11 | ||||
-rw-r--r-- | recipes/kakasi/kakasi-native_2.3.4.bb | 11 | ||||
-rw-r--r-- | recipes/kakasi/kakasi.inc | 9 | ||||
-rw-r--r-- | recipes/kakasi/kakasi_2.3.4.bb | 14 |
4 files changed, 45 insertions, 0 deletions
diff --git a/recipes/kakasi/files/makefile.patch b/recipes/kakasi/files/makefile.patch new file mode 100644 index 0000000000..4373a498c1 --- /dev/null +++ b/recipes/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/recipes/kakasi/kakasi-native_2.3.4.bb b/recipes/kakasi/kakasi-native_2.3.4.bb new file mode 100644 index 0000000000..86a4c81b44 --- /dev/null +++ b/recipes/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/recipes/kakasi/kakasi.inc b/recipes/kakasi/kakasi.inc new file mode 100644 index 0000000000..b931a84958 --- /dev/null +++ b/recipes/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/recipes/kakasi/kakasi_2.3.4.bb b/recipes/kakasi/kakasi_2.3.4.bb new file mode 100644 index 0000000000..aabfd20368 --- /dev/null +++ b/recipes/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} +} + + + |