wok annotate rhino/receipt @ rev 25192

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