wok view rhino/receipt @ rev 25578

Remove nimrod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 14 19:10:16 2023 +0000 (18 months ago)
parents 870e1ce31226
children 5db546345599
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="https://ftp.mozilla.org/pub/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 }