summaryrefslogtreecommitdiff
path: root/recipes/fastjar/fastjar-native.inc
blob: fa7c7ca6469e6497563cec34e78d6ee406dd21d8 (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
DESCRIPTION = "jar replacement written in C."
HOMEPAGE = "http://savannah.nongnu.org/projects/fastjar/"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "GPL"

INC_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() {
	install -d ${STAGING_BINDIR}
	install -m 755 .libs/fastjar ${STAGING_BINDIR}/fastjar
	install -m 755 .libs/grepjar ${STAGING_BINDIR}
}