wok-4.x view ecj/receipt @ rev 11273
Up: webkit-r (99690)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Nov 10 01:41:25 2011 +0000 (2011-11-10) |
parents | 738df91fb574 |
children |
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=""
17 BUILD_DEPENDS=""
18 SUGGESTED="java-jre"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # Build the ecj shell script to use the current version
24 mkdir -p $DESTDIR/usr/bin &&
25 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj &&
26 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj &&
27 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj &&
28 chmod +x $DESTDIR/usr/bin/ecj &&
29 mkdir -p $DESTDIR/usr/share/java &&
30 cp -a $src/*.jar $DESTDIR/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 }