summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-02-24 00:56:36 +0000
committerOtavio Salvador <otavio@ossystems.com.br>2012-02-24 00:57:16 +0000
commit1921033f3740ceab3b9bb5325772d374071993a9 (patch)
tree3a164f60bc3e83052b85aebe3682e128f4a2a16f
parente2cb8c6fe2942061283c766a9ed2cfac22be3c43 (diff)
downloadmeta-java-1921033f3740ceab3b9bb5325772d374071993a9.tar.gz
fastjar: provides virtual/jar and use use alternatives
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-core/fastjar/fastjar.inc8
1 files changed, 7 insertions, 1 deletions
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/"
3SECTION = "devel" 3SECTION = "devel"
4PRIORITY = "optional" 4PRIORITY = "optional"
5LICENSE = "GPLv2" 5LICENSE = "GPLv2"
6PR = "r1"
6 7
7DEPENDS = "zlib" 8DEPENDS = "zlib"
8 9
9SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz" 10SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz"
10 11
11inherit autotools 12inherit autotools update-alternatives
12 13
13PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc" 14PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc"
14FILES_${PN}-grepjar = "${bindir}/grepjar" 15FILES_${PN}-grepjar = "${bindir}/grepjar"
15 16
17PROVIDES = "virtual/jar"
18ALTERNATIVE_NAME = "jar"
19ALTERNATIVE_LINK = "${bindir}/jar"
20ALTERNATIVE_PATH = "${bindir}/fastjar"
21
16BBCLASSEXTEND = "native" 22BBCLASSEXTEND = "native"