fastjar 0.98: add non-native recipe
authorMichael Smith <msmith@cbnco.com>
Thu, 29 Oct 2009 05:18:07 +0000 (05:18 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 2 Nov 2009 13:38:19 +0000 (14:38 +0100)
Signed-off-by: Michael Smith <msmith@cbnco.com>
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
recipes/fastjar/fastjar-native.inc
recipes/fastjar/fastjar-native_0.95.bb
recipes/fastjar/fastjar-native_0.98.bb
recipes/fastjar/fastjar.inc [new file with mode: 0644]
recipes/fastjar/fastjar_0.98.bb [new file with mode: 0644]

index df4d260..e4d7084 100644 (file)
@@ -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"
index 6d2cdb4..342bf7c 100644 (file)
@@ -1,3 +1,4 @@
+require fastjar.inc
 require fastjar-native.inc
 
 PR = "${INC_PR}.1"
index 6d2cdb4..342bf7c 100644 (file)
@@ -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 (file)
index 0000000..7c5439e
--- /dev/null
@@ -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 (file)
index 0000000..35392f2
--- /dev/null
@@ -0,0 +1 @@
+require fastjar.inc