wok-6.x annotate rhino/receipt @ rev 24757
pkg-config: cheat configure
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 18 06:53:58 2022 +0100 (2022-03-18) |
parents | 23c3aed67cd9 |
children | 870e1ce31226 |
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" |
rcx@3784 | 10 WEB_SITE="http://www.mozilla.org/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 } |