wok-current annotate rhino/receipt @ rev 3784
Add: rhino (1.7R2)
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Thu Jul 30 15:22:20 2009 +0000 (2009-07-30) |
parents | |
children | f0755d9e99ed |
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" |
rcx@3784 | 8 DEPENDS="jre" |
rcx@3784 | 9 BUILD_DEPENDS="" |
rcx@3784 | 10 TARBALL="${PACKAGE}1_7R2.zip" |
rcx@3784 | 11 WEB_SITE="http://www.mozilla.org/rhino/" |
rcx@3784 | 12 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL" |
rcx@3784 | 13 |
rcx@3784 | 14 # Rules to configure and make the package. |
rcx@3784 | 15 compile_rules() |
rcx@3784 | 16 { |
rcx@3784 | 17 mv rhino1_7R2 $src |
rcx@3784 | 18 |
rcx@3784 | 19 cd $src |
rcx@3784 | 20 mkdir -p _pkg/usr/share/java |
rcx@3784 | 21 |
rcx@3784 | 22 cp -a js*.jar _pkg/usr/share/java |
rcx@3784 | 23 } |
rcx@3784 | 24 |
rcx@3784 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3784 | 26 genpkg_rules() |
rcx@3784 | 27 { |
rcx@3784 | 28 mkdir -p $fs |
rcx@3784 | 29 cp -a $_pkg/usr $fs |
rcx@3784 | 30 } |