From 00993186da6ba1da98aa52464288b15462381290 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 29 Oct 2009 05:18:07 +0000 Subject: [PATCH] fastjar 0.98: add non-native recipe Signed-off-by: Michael Smith Signed-off-by: Henning Heinold --- recipes/fastjar/fastjar-native.inc | 12 +----------- recipes/fastjar/fastjar-native_0.95.bb | 1 + recipes/fastjar/fastjar-native_0.98.bb | 1 + recipes/fastjar/fastjar.inc | 16 ++++++++++++++++ recipes/fastjar/fastjar_0.98.bb | 1 + 5 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 recipes/fastjar/fastjar.inc create mode 100644 recipes/fastjar/fastjar_0.98.bb diff --git a/recipes/fastjar/fastjar-native.inc b/recipes/fastjar/fastjar-native.inc index df4d260713..e4d7084138 100644 --- a/recipes/fastjar/fastjar-native.inc +++ b/recipes/fastjar/fastjar-native.inc @@ -1,18 +1,8 @@ -DESCRIPTION = "jar replacement written in C." -HOMEPAGE = "http://savannah.nongnu.org/projects/fastjar/" -SECTION = "devel" -PRIORITY = "optional" -LICENSE = "GPL" - -INC_PR = "r2" - DEPENDS = "zlib-native" -SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz" - S = "${WORKDIR}/fastjar-${PV}" -inherit autotools native +inherit native do_configure () { gnu-configize || die "failure running gnu-configize" diff --git a/recipes/fastjar/fastjar-native_0.95.bb b/recipes/fastjar/fastjar-native_0.95.bb index 6d2cdb4f24..342bf7ccfc 100644 --- a/recipes/fastjar/fastjar-native_0.95.bb +++ b/recipes/fastjar/fastjar-native_0.95.bb @@ -1,3 +1,4 @@ +require fastjar.inc require fastjar-native.inc PR = "${INC_PR}.1" diff --git a/recipes/fastjar/fastjar-native_0.98.bb b/recipes/fastjar/fastjar-native_0.98.bb index 6d2cdb4f24..342bf7ccfc 100644 --- a/recipes/fastjar/fastjar-native_0.98.bb +++ b/recipes/fastjar/fastjar-native_0.98.bb @@ -1,3 +1,4 @@ +require fastjar.inc require fastjar-native.inc PR = "${INC_PR}.1" diff --git a/recipes/fastjar/fastjar.inc b/recipes/fastjar/fastjar.inc new file mode 100644 index 0000000000..7c5439edb4 --- /dev/null +++ b/recipes/fastjar/fastjar.inc @@ -0,0 +1,16 @@ +DESCRIPTION = "jar replacement written in C." +HOMEPAGE = "http://savannah.nongnu.org/projects/fastjar/" +SECTION = "devel" +PRIORITY = "optional" +LICENSE = "GPL" + +DEPENDS = "zlib" + +INC_PR = "r3" + +SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz" + +inherit autotools + +PACKAGES =+ "${PN}-grepjar" +FILES_${PN}-grepjar = "${bindir}/grepjar" diff --git a/recipes/fastjar/fastjar_0.98.bb b/recipes/fastjar/fastjar_0.98.bb new file mode 100644 index 0000000000..35392f23ee --- /dev/null +++ b/recipes/fastjar/fastjar_0.98.bb @@ -0,0 +1 @@ +require fastjar.inc -- 2.39.5