aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/fastjar/fastjar.inc
blob: 2a40e3ca95c08d7cb1d9e87b8fbeda2fc80c5b82 (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
SUMMARY = "jar replacement written in C."
HOMEPAGE = "http://savannah.nongnu.org/projects/fastjar/"
SECTION = "devel"
PRIORITY = "optional"
LICENSE = "GPLv2"
PR = "r1"

DEPENDS = "zlib"

SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz"

inherit autotools update-alternatives

PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc"
FILES_${PN}-grepjar = "${bindir}/grepjar"

PROVIDES = "virtual/jar"
ALTERNATIVE_${PN} = "jar"
ALTERNATIVE_LINK = "${bindir}/jar"
ALTERNATIVE_TARGET = "${bindir}/fastjar"

# update-aternatives does not work for native class
do_install_append_class-native () {
	ln -s fastjar ${D}${bindir}/jar
}

BBCLASSEXTEND = "native"