Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fastjar: provides virtual/jar and use use alternatives

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
  • Loading branch information...
commit 1921033f3740ceab3b9bb5325772d374071993a9 1 parent e2cb8c6
@otavio otavio authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 recipes-core/fastjar/fastjar.inc
View
8 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"
Please sign in to comment.
Something went wrong with that request. Please try again.