wok view rhino/receipt @ rev 9907

slitaz-icon: fix sed (must be befor cd to find file) and avois error with latlito/tazpkg --root=
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 15:18:51 2011 +0200 (2011-05-17)
parents ad00280438a6
children 11cce6c93ceb
line source
1 # SliTaz package receipt.
3 PACKAGE="rhino"
4 VERSION="1.7R2"
5 CATEGORY="development"
6 SHORT_DESC="JavaScript for Java."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="${PACKAGE}1_7R2.zip"
9 WEB_SITE="http://www.mozilla.org/rhino/"
10 WGET_URL="ftp://ftp.mozilla.org/pub/mozilla.org/js/$TARBALL"
11 TAGS="java javascript"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 SUGGESTED="java-jre"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mv rhino1_7R2 $src
23 cd $src
24 mkdir -p _pkg/usr/share/java
26 cp -a js*.jar _pkg/usr/share/java
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs
33 cp -a $_pkg/usr $fs
34 }