[oe-commits] Henning Heinold : fastjar: switch to BBCLASSEXTEND and clean up

git version control git at git.openembedded.org
Sat May 15 11:01:23 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 0f801ce2b17a92413a5af12d8534a088461c799e
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0f801ce2b17a92413a5af12d8534a088461c799e

Author: Henning Heinold <heinold at inf.fu-berlin.de>
Date:   Sat May 15 12:55:01 2010 +0200

fastjar: switch to BBCLASSEXTEND and clean up

* remove older versions
* we don't need the empty dev package, because there are no libs
* bump INC_PR to get native and normal package to the same revision

---

 recipes/fastjar/fastjar-native.inc              |   18 ------------
 recipes/fastjar/fastjar-native_0.92+gcc3.4.2.bb |   34 -----------------------
 recipes/fastjar/fastjar-native_0.95.bb          |    7 -----
 recipes/fastjar/fastjar-native_0.98.bb          |    7 -----
 recipes/fastjar/fastjar.inc                     |    8 +++--
 recipes/fastjar/fastjar_0.98.bb                 |    2 +
 6 files changed, 7 insertions(+), 69 deletions(-)

diff --git a/recipes/fastjar/fastjar-native.inc b/recipes/fastjar/fastjar-native.inc
deleted file mode 100644
index e4d7084..0000000
--- a/recipes/fastjar/fastjar-native.inc
+++ /dev/null
@@ -1,18 +0,0 @@
-DEPENDS = "zlib-native"
-
-S = "${WORKDIR}/fastjar-${PV}"
-
-inherit native
-
-do_configure () {
-	gnu-configize || die "failure running gnu-configize"
-	oe_runconf
-}
-
-do_make() {
-	oe_runmake bin_PROGRAMS
-}
-
-do_stage() {
-	oe_runmake install-binPROGRAMS
-}
diff --git a/recipes/fastjar/fastjar-native_0.92+gcc3.4.2.bb b/recipes/fastjar/fastjar-native_0.92+gcc3.4.2.bb
deleted file mode 100644
index 7da6948..0000000
--- a/recipes/fastjar/fastjar-native_0.92+gcc3.4.2.bb
+++ /dev/null
@@ -1,34 +0,0 @@
-DESCRIPTION = "jar replacement written in C."
-HOMEPAGE = "http://sourceforge.net/projects/fastjar/"
-SECTION = "devel"
-PRIORITY = "optional"
-LICENSE = "GPL"
-
-DEPENDS = "zlib"
-
-GCC_VER = "${@bb.data.getVar('PV',d,1).split('gcc')[1]}"
-SRC_URI = "${GNU_MIRROR}/gcc/gcc-${GCC_VER}/gcc-${GCC_VER}.tar.bz2"
-
-S = "${WORKDIR}/gcc-${GCC_VER}"
-
-inherit autotools native
-
-EXTRA_OECONF = "--with-system-zlib --with-fastjar"
-
-do_configure () {
-	gnu-configize || die "failure running gnu-configize"
-	oe_runconf
-}
-
-do_compile() {
-	oe_runmake maybe-all-fastjar
-}
-
-do_stage() {
-	install -d ${STAGING_BINDIR}
-	install -m 755 fastjar/jar ${STAGING_BINDIR}/fastjar
-	install -m 755 fastjar/grepjar ${STAGING_BINDIR}
-}
-
-SRC_URI[md5sum] = "2fada3a3effd2fd791df09df1f1534b3"
-SRC_URI[sha256sum] = "522c53b92ff9096089f3074c50e17a5169952d32f4c883c6fdae350e8f1b344e"
diff --git a/recipes/fastjar/fastjar-native_0.95.bb b/recipes/fastjar/fastjar-native_0.95.bb
deleted file mode 100644
index 5ca9b5f..0000000
--- a/recipes/fastjar/fastjar-native_0.95.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require fastjar.inc
-require fastjar-native.inc
-
-PR = "${INC_PR}.1"
-
-SRC_URI[md5sum] = "92a70f9e56223b653bce0f58f90cf950"
-SRC_URI[sha256sum] = "ca03811490c965abc9f466e75418ae48bb71f14d8e8ed4c43e8109207b85ce54"
diff --git a/recipes/fastjar/fastjar-native_0.98.bb b/recipes/fastjar/fastjar-native_0.98.bb
deleted file mode 100644
index 11f76f4..0000000
--- a/recipes/fastjar/fastjar-native_0.98.bb
+++ /dev/null
@@ -1,7 +0,0 @@
-require fastjar.inc
-require fastjar-native.inc
-
-PR = "${INC_PR}.1"
-
-SRC_URI[md5sum] = "d2d264d343d4d0e1575832cc1023c3bf"
-SRC_URI[sha256sum] = "f156abc5de8658f22ee8f08d7a72c88f9409ebd8c7933e9466b0842afeb2f145"
diff --git a/recipes/fastjar/fastjar.inc b/recipes/fastjar/fastjar.inc
index 7c5439e..5f6285a 100644
--- a/recipes/fastjar/fastjar.inc
+++ b/recipes/fastjar/fastjar.inc
@@ -2,15 +2,17 @@ DESCRIPTION = "jar replacement written in C."
 HOMEPAGE = "http://savannah.nongnu.org/projects/fastjar/"
 SECTION = "devel"
 PRIORITY = "optional"
-LICENSE = "GPL"
+LICENSE = "GPLv2"
 
 DEPENDS = "zlib"
 
-INC_PR = "r3"
+INC_PR = "r4"
+
+BBCLASSEXTEND = "native"
 
 SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz"
 
 inherit autotools
 
-PACKAGES =+ "${PN}-grepjar"
+PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc"
 FILES_${PN}-grepjar = "${bindir}/grepjar"
diff --git a/recipes/fastjar/fastjar_0.98.bb b/recipes/fastjar/fastjar_0.98.bb
index 652e8e7..e9be4e1 100644
--- a/recipes/fastjar/fastjar_0.98.bb
+++ b/recipes/fastjar/fastjar_0.98.bb
@@ -1,4 +1,6 @@
 require fastjar.inc
 
+PR = "${INC_PR}.1"
+
 SRC_URI[md5sum] = "d2d264d343d4d0e1575832cc1023c3bf"
 SRC_URI[sha256sum] = "f156abc5de8658f22ee8f08d7a72c88f9409ebd8c7933e9466b0842afeb2f145"





More information about the Openembedded-commits mailing list