summaryrefslogtreecommitdiff
path: root/recipes/kakasi
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/kakasi
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/kakasi')
-rw-r--r--recipes/kakasi/files/makefile.patch11
-rw-r--r--recipes/kakasi/kakasi-native_2.3.4.bb11
-rw-r--r--recipes/kakasi/kakasi.inc9
-rw-r--r--recipes/kakasi/kakasi_2.3.4.bb14
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}
+}
+
+
+