fastjar: switch to BBCLASSEXTEND and clean up
authorHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 15 May 2010 10:55:01 +0000 (12:55 +0200)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Sat, 15 May 2010 10:58:54 +0000 (12:58 +0200)
* 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 [deleted file]
recipes/fastjar/fastjar-native_0.92+gcc3.4.2.bb [deleted file]
recipes/fastjar/fastjar-native_0.95.bb [deleted file]
recipes/fastjar/fastjar-native_0.98.bb [deleted file]
recipes/fastjar/fastjar.inc
recipes/fastjar/fastjar_0.98.bb

diff --git a/recipes/fastjar/fastjar-native.inc b/recipes/fastjar/fastjar-native.inc
deleted file mode 100644 (file)
index e4d7084..0000000
+++ /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 (file)
index 7da6948..0000000
+++ /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 (file)
index 5ca9b5f..0000000
+++ /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 (file)
index 11f76f4..0000000
+++ /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"
index 7c5439e..5f6285a 100644 (file)
@@ -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"
index 652e8e7..e9be4e1 100644 (file)
@@ -1,4 +1,6 @@
 require fastjar.inc
 
+PR = "${INC_PR}.1"
+
 SRC_URI[md5sum] = "d2d264d343d4d0e1575832cc1023c3bf"
 SRC_URI[sha256sum] = "f156abc5de8658f22ee8f08d7a72c88f9409ebd8c7933e9466b0842afeb2f145"