diff options
Diffstat (limited to 'recipes-core/rhino/rhino_1.7r4.bb')
-rw-r--r-- | recipes-core/rhino/rhino_1.7r4.bb | 18 |
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" | |||
2 | LICENSE = "MPL-2.0" | 2 | LICENSE = "MPL-2.0" |
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e2372bdbf22c99279ae4599a13cc458" | 3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=8e2372bdbf22c99279ae4599a13cc458" |
4 | 4 | ||
5 | DEPENDS_class-native += "classpath-native" | 5 | DEPENDS:class-native += "classpath-native" |
6 | 6 | ||
7 | BBCLASSEXTEND = "native" | 7 | BBCLASSEXTEND = "native" |
8 | 8 | ||
@@ -10,19 +10,20 @@ PACKAGE_ARCH = "${TUNE_PKGARCH}" | |||
10 | 10 | ||
11 | inherit java-library | 11 | inherit java-library |
12 | 12 | ||
13 | SRCREV = "82ffb8f3e09e77e3b1f5782c35b621e7ca742b58" | ||
13 | SRC_URI = "\ | 14 | SRC_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 | ||
19 | S = "${WORKDIR}/rhino1_7R4" | 20 | S = "${WORKDIR}/git" |
20 | 21 | ||
21 | PACKAGES = "${JPN} rhino" | 22 | PACKAGES = "${JPN} rhino" |
22 | 23 | ||
23 | FILES_${PN} = "${bindir}/rhino ${bindir}/rhino-jsc" | 24 | FILES:${PN} = "${bindir}/rhino ${bindir}/rhino-jsc" |
24 | RDEPENDS_${PN} = "java2-runtime ${JPN}" | 25 | RDEPENDS:${PN} = "java2-runtime ${JPN}" |
25 | RDEPENDS_${PN}_class-native = "" | 26 | RDEPENDS:${PN}:class-native = "" |
26 | 27 | ||
27 | do_compile() { | 28 | do_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 | ||
42 | do_install_append() { | 43 | do_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 | |||
49 | SRC_URI[md5sum] = "ad67a3dff135e3a70f0c3528a2d6edf2" | ||
50 | SRC_URI[sha256sum] = "9eb08f85bbe7c8e0b9eaffb1cf4984b31fb679f3c8a682acc3bb8ac20626c61e" | ||