wok-6.x annotate rhino/receipt @ rev 9634
Fixes: ecj, fop, rhino, xalan-xerces-j, xlogo (jre is not a package --> java-jre)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 26 15:26:46 2011 +0200 (2011-04-26) |
parents | 8be66f03fbd2 |
children | 3a51d8de6d09 |
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 TARBALL="${PACKAGE}1_7R2.zip" |
rcx@3784 | 9 WEB_SITE="http://www.mozilla.org/rhino/" |
rcx@3784 | 10 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL" |
jozee@4972 | 11 TAGS="java javascript" |
rcx@3784 | 12 |
pankso@9634 | 13 DEPENDS="java-jre" |
pankso@9634 | 14 BUILD_DEPENDS="" |
pankso@9634 | 15 |
rcx@3784 | 16 # Rules to configure and make the package. |
rcx@3784 | 17 compile_rules() |
rcx@3784 | 18 { |
rcx@3784 | 19 mv rhino1_7R2 $src |
rcx@3784 | 20 |
rcx@3784 | 21 cd $src |
rcx@3784 | 22 mkdir -p _pkg/usr/share/java |
rcx@3784 | 23 |
rcx@3784 | 24 cp -a js*.jar _pkg/usr/share/java |
rcx@3784 | 25 } |
rcx@3784 | 26 |
rcx@3784 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3784 | 28 genpkg_rules() |
rcx@3784 | 29 { |
rcx@3784 | 30 mkdir -p $fs |
rcx@3784 | 31 cp -a $_pkg/usr $fs |
rcx@3784 | 32 } |