wok view rhino/receipt @ rev 25112
updated patchelf (0.10 -> 0.14.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 25 15:14:46 2022 +0100 (2022-06-25) |
parents | 7c0170dd3ecc |
children | df63c4ce07f8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="rhino"
4 VERSION="1.7R2"
5 CATEGORY="development"
6 SHORT_DESC="JavaScript for Java."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="MPL"
9 TARBALL="${PACKAGE}1_7R2.zip"
10 WEB_SITE="https://mozilla.github.io/rhino/"
11 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL"
12 TAGS="java javascript"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 SUGGESTED="java-jre"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/mozilla/rhino/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/Rhino\(.*\)_Release.tar.*|\1|;s|_|.|g;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir -p $install/usr/share/java
30 cp -a js*.jar $install/usr/share/java
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $install/usr $fs
38 }