aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/kakasi
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-27 13:47:09 +0200
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-08-27 13:48:38 +0200
commit9a501f160bd4e7f2203cb36c5cf8fd5b22dd8080 (patch)
treedc06d3f0850cd52662acb94317b42db4f9994e52 /recipes/kakasi
parent08f3e210b06b0d7caa19a002d708427b5b5bbb65 (diff)
downloadopenembedded-9a501f160bd4e7f2203cb36c5cf8fd5b22dd8080.tar.gz
openembedded-9a501f160bd4e7f2203cb36c5cf8fd5b22dd8080.tar.bz2
openembedded-9a501f160bd4e7f2203cb36c5cf8fd5b22dd8080.zip
kakasi: merged native and target recipe, removed legacy staging
not really a beaty; but we have no simple way to specify a target only patch. This seems the cleanest way to do it Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/kakasi')
-rw-r--r--recipes/kakasi/kakasi-native_2.3.4.bb12
-rw-r--r--recipes/kakasi/kakasi.inc6
-rw-r--r--recipes/kakasi/kakasi_2.3.4.bb19
3 files changed, 15 insertions, 22 deletions
diff --git a/recipes/kakasi/kakasi-native_2.3.4.bb b/recipes/kakasi/kakasi-native_2.3.4.bb
deleted file mode 100644
index 24d4e1d0d0..0000000000
--- a/recipes/kakasi/kakasi-native_2.3.4.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require kakasi.inc
-
-inherit native
-
-do_stage() {
- install src/mkkanwa ${STAGING_BINDIR}
-}
-
-
-
-SRC_URI[md5sum] = "4eff51aafbd56c9635791a20c03efa8f"
-SRC_URI[sha256sum] = "c272560f5c11fe45b011c4e26ada66218fb0109d5582c5876aa49c5e24718534"
diff --git a/recipes/kakasi/kakasi.inc b/recipes/kakasi/kakasi.inc
index b931a84958..b893b2896a 100644
--- a/recipes/kakasi/kakasi.inc
+++ b/recipes/kakasi/kakasi.inc
@@ -1,8 +1,14 @@
DESCRIPTION = "Kanji Kana Simple Inverter"
+SECTION = "utils"
HOMEPAGE = "http://kakasi.namazu.org/"
LICENSE = "GPL"
+INC_PR = "r0"
+
+# the lines below are a little bit yucky but I found no better way to do this
SRC_URI = "http://kakasi.namazu.org/stable/kakasi-${PV}.tar.gz"
+SRC_URI += "file://makefile.patch"
+SRC_URI_virtclass-native = "http://kakasi.namazu.org/stable/kakasi-${PV}.tar.gz"
inherit autotools pkgconfig
diff --git a/recipes/kakasi/kakasi_2.3.4.bb b/recipes/kakasi/kakasi_2.3.4.bb
index 843f6fb2bb..9a269e7cc0 100644
--- a/recipes/kakasi/kakasi_2.3.4.bb
+++ b/recipes/kakasi/kakasi_2.3.4.bb
@@ -1,17 +1,16 @@
require kakasi.inc
-SECTION = "utils"
DEPENDS = "kakasi-native"
+DEPENDS_virtclass-native = ""
-SRC_URI += "file://makefile.patch"
-
-do_stage () {
- install -m 0644 lib/*.h ${STAGING_INCDIR}
- install lib/.libs/libkakasi.so* ${STAGING_LIBDIR}
-}
-
-
-
+PR = "${INC_PR}.1"
SRC_URI[md5sum] = "4eff51aafbd56c9635791a20c03efa8f"
SRC_URI[sha256sum] = "c272560f5c11fe45b011c4e26ada66218fb0109d5582c5876aa49c5e24718534"
+
+do_install_virtclass-native() {
+ install src/mkkanwa ${STAGING_BINDIR}
+}
+
+BBCLASSEXTEND = "native"
+NATIVE_INSTALL_WORKS = "1"