From 1921033f3740ceab3b9bb5325772d374071993a9 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Fri, 24 Feb 2012 00:56:36 +0000 Subject: fastjar: provides virtual/jar and use use alternatives Signed-off-by: Otavio Salvador --- recipes-core/fastjar/fastjar.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'recipes-core/fastjar') diff --git a/recipes-core/fastjar/fastjar.inc b/recipes-core/fastjar/fastjar.inc index f48135d..efbc226 100644 --- a/recipes-core/fastjar/fastjar.inc +++ b/recipes-core/fastjar/fastjar.inc @@ -3,14 +3,20 @@ 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 +inherit autotools update-alternatives PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc" FILES_${PN}-grepjar = "${bindir}/grepjar" +PROVIDES = "virtual/jar" +ALTERNATIVE_NAME = "jar" +ALTERNATIVE_LINK = "${bindir}/jar" +ALTERNATIVE_PATH = "${bindir}/fastjar" + BBCLASSEXTEND = "native" -- cgit v1.2.3-54-g00ecf