summaryrefslogtreecommitdiffstats
path: root/recipes-core/rhino/rhino_1.7r4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/rhino/rhino_1.7r4.bb')
-rw-r--r--recipes-core/rhino/rhino_1.7r4.bb18
1 files changed, 8 insertions, 10 deletions
diff --git a/recipes-core/rhino/rhino_1.7r4.bb b/recipes-core/rhino/rhino_1.7r4.bb
index 4242005..d645e8a 100644
--- a/recipes-core/rhino/rhino_1.7r4.bb
+++ b/recipes-core/rhino/rhino_1.7r4.bb
@@ -2,7 +2,7 @@ SUMMARY = "Lexical analyzer generator for Java"
2LICENSE = "MPL-2.0" 2LICENSE = "MPL-2.0"
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e2372bdbf22c99279ae4599a13cc458" 3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e2372bdbf22c99279ae4599a13cc458"
4 4
5DEPENDS_class-native += "classpath-native" 5DEPENDS:class-native += "classpath-native"
6 6
7BBCLASSEXTEND = "native" 7BBCLASSEXTEND = "native"
8 8
@@ -10,19 +10,20 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}"
10 10
11inherit java-library 11inherit java-library
12 12
13SRCREV = "82ffb8f3e09e77e3b1f5782c35b621e7ca742b58"
13SRC_URI = "\ 14SRC_URI = "\
14 https://github.com/downloads/mozilla/rhino/rhino1_7R4.zip \ 15 git://github.com/mozilla/rhino;protocol=https;branch=master \
15 file://rhino \ 16 file://rhino \
16 file://rhino-jsc \ 17 file://rhino-jsc \
17 " 18 "
18 19
19S = "${WORKDIR}/rhino1_7R4" 20S = "${WORKDIR}/git"
20 21
21PACKAGES = "${JPN} rhino" 22PACKAGES = "${JPN} rhino"
22 23
23FILES_${PN} = "${bindir}/rhino ${bindir}/rhino-jsc" 24FILES:${PN} = "${bindir}/rhino ${bindir}/rhino-jsc"
24RDEPENDS_${PN} = "java2-runtime ${JPN}" 25RDEPENDS:${PN} = "java2-runtime ${JPN}"
25RDEPENDS_${PN}_class-native = "" 26RDEPENDS:${PN}:class-native = ""
26 27
27do_compile() { 28do_compile() {
28 mkdir -p build 29 mkdir -p build
@@ -39,12 +40,9 @@ do_compile() {
39 fastjar cfm ${JARFILENAME} ${S}/src/manifest -C build . 40 fastjar cfm ${JARFILENAME} ${S}/src/manifest -C build .
40} 41}
41 42
42do_install_append() { 43do_install:append() {
43 install -d ${D}${bindir} 44 install -d ${D}${bindir}
44 45
45 install -m 0755 ${WORKDIR}/rhino ${D}${bindir} 46 install -m 0755 ${WORKDIR}/rhino ${D}${bindir}
46 install -m 0755 ${WORKDIR}/rhino-jsc ${D}${bindir} 47 install -m 0755 ${WORKDIR}/rhino-jsc ${D}${bindir}
47} 48}
48
49SRC_URI[md5sum] = "ad67a3dff135e3a70f0c3528a2d6edf2"
50SRC_URI[sha256sum] = "9eb08f85bbe7c8e0b9eaffb1cf4984b31fb679f3c8a682acc3bb8ac20626c61e"