summaryrefslogtreecommitdiff
path: root/recipes/fastjar/fastjar-native_0.95.bb
blob: 3d003306b8978fa9d88eddbb452733f72c51525f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
DESCRIPTION = "jar replacement written in C."
HOMEPAGE = "http://savannah.nongnu.org/projects/fastjar/"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "GPL"

PR = "r1"

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() {
	#we should teach autotools.bbclass:autotools_stage_all() about ${STAGING_BINDIR}
	install -d ${STAGING_BINDIR}
	install -m 755 .libs/fastjar ${STAGING_BINDIR}/fastjar
	install -m 755 .libs/grepjar ${STAGING_BINDIR}
}