wok-current view rhino/receipt @ rev 24771
amule: modified MuleDebug.cpp for libbfd-2.37
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 15:22:53 2022 +0100 (2022-03-19) |
parents | 23c3aed67cd9 |
children | 870e1ce31226 |
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="http://www.mozilla.org/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 }