diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-02-24 00:56:36 +0000 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-02-24 00:57:16 +0000 |
commit | 1921033f3740ceab3b9bb5325772d374071993a9 (patch) | |
tree | 3a164f60bc3e83052b85aebe3682e128f4a2a16f | |
parent | e2cb8c6fe2942061283c766a9ed2cfac22be3c43 (diff) | |
download | meta-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.inc | 8 |
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/" | |||
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | PRIORITY = "optional" | 4 | PRIORITY = "optional" |
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | PR = "r1" | ||
6 | 7 | ||
7 | DEPENDS = "zlib" | 8 | DEPENDS = "zlib" |
8 | 9 | ||
9 | SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz" | 10 | SRC_URI = "http://download.savannah.nongnu.org/releases/fastjar/fastjar-${PV}.tar.gz" |
10 | 11 | ||
11 | inherit autotools | 12 | inherit autotools update-alternatives |
12 | 13 | ||
13 | PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc" | 14 | PACKAGES = "${PN}-grepjar ${PN} ${PN}-dbg ${PN}-doc" |
14 | FILES_${PN}-grepjar = "${bindir}/grepjar" | 15 | FILES_${PN}-grepjar = "${bindir}/grepjar" |
15 | 16 | ||
17 | PROVIDES = "virtual/jar" | ||
18 | ALTERNATIVE_NAME = "jar" | ||
19 | ALTERNATIVE_LINK = "${bindir}/jar" | ||
20 | ALTERNATIVE_PATH = "${bindir}/fastjar" | ||
21 | |||
16 | BBCLASSEXTEND = "native" | 22 | BBCLASSEXTEND = "native" |