wok-current annotate rhino/receipt @ rev 15026
sylpheed: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 22:07:47 2013 +0000 (2013-08-11) |
parents | ad00280438a6 |
children | 11cce6c93ceb |
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 |
slaxemulator@9641 | 13 DEPENDS="" |
pankso@9634 | 14 BUILD_DEPENDS="" |
pankso@9634 | 15 |
slaxemulator@9641 | 16 SUGGESTED="java-jre" |
slaxemulator@9641 | 17 |
rcx@3784 | 18 # Rules to configure and make the package. |
rcx@3784 | 19 compile_rules() |
rcx@3784 | 20 { |
rcx@3784 | 21 mv rhino1_7R2 $src |
rcx@3784 | 22 |
rcx@3784 | 23 cd $src |
rcx@3784 | 24 mkdir -p _pkg/usr/share/java |
rcx@3784 | 25 |
rcx@3784 | 26 cp -a js*.jar _pkg/usr/share/java |
rcx@3784 | 27 } |
rcx@3784 | 28 |
rcx@3784 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3784 | 30 genpkg_rules() |
rcx@3784 | 31 { |
rcx@3784 | 32 mkdir -p $fs |
rcx@3784 | 33 cp -a $_pkg/usr $fs |
rcx@3784 | 34 } |