fastjar-native: newer upstream-version of fastjar
authorHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 13 Aug 2007 20:45:17 +0000 (20:45 +0000)
committerHenning Heinold <heinold@inf.fu-berlin.de>
Mon, 13 Aug 2007 20:45:17 +0000 (20:45 +0000)
* fastjar now hosted at savannah.nongnu.org
* depends on zlib-native instead of zlib

packages/fastjar/fastjar-native_0.95.bb [new file with mode: 0644]

diff --git a/packages/fastjar/fastjar-native_0.95.bb b/packages/fastjar/fastjar-native_0.95.bb
new file mode 100644 (file)
index 0000000..520235d
--- /dev/null
@@ -0,0 +1,26 @@
+DESCRIPTION = "jar replacement written in C."
+HOMEPAGE = "http://savannah.nongnu.org/projects/fastjar/"
+SECTION = "devel"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+DEPENDS = "zlib-native"
+
+SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz"
+
+S = "${WORKDIR}/fastjar-${PV}"
+
+inherit autotools native
+
+EXTRA_OECONF = "--with-system-zlib --with-fastjar"
+
+do_configure () {
+       gnu-configize || die "failure running gnu-configize"
+       oe_runconf
+}
+
+do_stage() {
+       install -d ${STAGING_BINDIR}
+       install -m 755 fastjar ${STAGING_BINDIR}/fastjar
+       install -m 755 grepjar ${STAGING_BINDIR}
+}