cacaoh-native: Removed legacy style staging
authorFahad Usman <fahad_usman@mentor.com>
Tue, 17 Aug 2010 01:08:34 +0000 (01:08 +0000)
committerTom Rini <tom_rini@mentor.com>
Thu, 30 Sep 2010 21:03:09 +0000 (14:03 -0700)
* converted do_stage to do_install
* use oe-stylize.py (with care as it gets require wrong).
* Switch to INC_PR, bump.

Signed-off-by: Fahad Usman <fahad_usman@mentor.com>
Signed-off-by: Tom Rini <tom_rini@mentor.com>
recipes/cacao/cacaoh-native.inc
recipes/cacao/cacaoh-native_0.99.3.bb
recipes/cacao/cacaoh-native_0.99.4.bb

index a44c503..2b3709f 100644 (file)
@@ -1,9 +1,10 @@
 DESCRIPTION = "Header generator for Cacao JVM - Needed for cross-compilation builds"
 HOMEPAGE = "http://www.cacaojvm.org/"
-LICENSE  = "GPL"
-
+LICENSE = "GPL"
 DEPENDS = "libtool-native zlib-native virtual/javac-native classpath-native"
 
+INC_PR = "r2"
+
 S = "${WORKDIR}/cacao-${PV}"
 
 inherit autotools native
@@ -21,6 +22,9 @@ do_compile() {
   oe_runmake -C src/cacaoh cacaoh
 }
 
-do_stage() {
-       install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-${PV}
+do_install() {
+  install -d ${D}${bindir}/cacaoh-${PV}
+  install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV}
 }
+
+NATIVE_INSTALL_WORKS = "1"
index b3baee0..b1d127c 100644 (file)
@@ -1,8 +1,7 @@
 require cacaoh-native.inc
 
-PR = "r1"
+PR = "${INC_PR}.1"
 
 SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2"
-
 SRC_URI[md5sum] = "db93ab31c6d1b7f1e213771bb81bde58"
 SRC_URI[sha256sum] = "1ea5bd257f755ffcae2c7a1935c37147c7392478922410e0870361eea08b6c27"
index a9effc0..4c63183 100644 (file)
@@ -1,8 +1,7 @@
 require cacaoh-native.inc
 
-PR = "r0"
+PR = "${INC_PR}.1"
 
 SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2"
-
 SRC_URI[md5sum] = "63220327925ace13756ae334c55a3baa"
 SRC_URI[sha256sum] = "1dfc4903dc0172286df4f1740fd0f12749ac81d51c602290b47cbe83d51e1d56"