wok-current view rhino/receipt @ rev 25642
Bump linux to 4.19.305, add linux-pae-ipv6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Wed Jan 17 12:05:22 2024 +0000 (11 months ago) |
parents | 870e1ce31226 |
children |
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 }