wok annotate rhino/receipt @ rev 25509

sgmixer: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 12 13:14:45 2023 +0000 (21 months ago)
parents 870e1ce31226
children 5db546345599
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/"
pascal@25442 11 WGET_URL="https://ftp.mozilla.org/pub/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 }