wok view ecj/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 1ee924e11aed
children 3a51d8de6d09
line source
1 # SliTaz package receipt.
3 PACKAGE="ecj"
4 VERSION="3.6"
5 CATEGORY="development"
6 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter."
7 MAINTAINER="rcx@zoominternet.net"
8 TARBALL="$PACKAGE-$VERSION.jar"
9 WEB_SITE="http://www.eclipse.org/jdt/core/"
10 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
11 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL"
12 # 3.6:
13 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
14 TAGS="compiler java"
16 DEPENDS="java-jre"
17 BUILD_DEPENDS=""
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Build the ecj shell script to use the current version
23 mkdir -p $src/_pkg/usr/bin &&
24 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
25 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
26 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
27 chmod +x $src/_pkg/usr/bin/ecj &&
29 mkdir -p $src/_pkg/usr/share/java &&
30 cp -a $src/$TARBALL $src/_pkg/usr/share/java
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $_pkg/usr $fs
38 }