wok-stable annotate rhino/receipt @ rev 5452

Up: asterisk (1.6.2.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 15:45:41 2010 +0200 (2010-05-05)
parents d7465f7f9abb
children ad00280438a6
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@3878 8 DEPENDS="jre"
rcx@3878 9 #DEPENDS="java-jre"
rcx@3784 10 BUILD_DEPENDS=""
rcx@3877 11 SUGGESTED=""
rcx@3784 12 TARBALL="${PACKAGE}1_7R2.zip"
rcx@3784 13 WEB_SITE="http://www.mozilla.org/rhino/"
rcx@3784 14 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL"
jozee@4972 15 TAGS="java javascript"
rcx@3784 16
rcx@3784 17 # Rules to configure and make the package.
rcx@3784 18 compile_rules()
rcx@3784 19 {
rcx@3784 20 mv rhino1_7R2 $src
rcx@3784 21
rcx@3784 22 cd $src
rcx@3784 23 mkdir -p _pkg/usr/share/java
rcx@3784 24
rcx@3784 25 cp -a js*.jar _pkg/usr/share/java
rcx@3784 26 }
rcx@3784 27
rcx@3784 28 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3784 29 genpkg_rules()
rcx@3784 30 {
rcx@3784 31 mkdir -p $fs
rcx@3784 32 cp -a $_pkg/usr $fs
rcx@3784 33 }