wok annotate ecj/receipt @ rev 13521

Up task (2.1.2)
author Paul Issott <paul@slitaz.org>
date Fri Oct 19 19:53:45 2012 +0100 (2012-10-19)
parents 738df91fb574
children fcdd50638150
rev   line source
rcx@3797 1 # SliTaz package receipt.
rcx@3797 2
rcx@3797 3 PACKAGE="ecj"
rcx@5997 4 VERSION="3.6"
rcx@3797 5 CATEGORY="development"
rcx@3797 6 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter."
rcx@3797 7 MAINTAINER="rcx@zoominternet.net"
rcx@3797 8 TARBALL="$PACKAGE-$VERSION.jar"
rcx@3797 9 WEB_SITE="http://www.eclipse.org/jdt/core/"
rcx@5997 10 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
rcx@5997 11 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL"
rcx@5997 12 # 3.6:
rcx@5997 13 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
jozee@4935 14 TAGS="compiler java"
rcx@3797 15
slaxemulator@9641 16 DEPENDS=""
pankso@9634 17 BUILD_DEPENDS=""
slaxemulator@9641 18 SUGGESTED="java-jre"
pankso@9634 19
rcx@3797 20 # Rules to configure and make the package.
rcx@3797 21 compile_rules()
rcx@3797 22 {
rcx@3797 23 # Build the ecj shell script to use the current version
pankso@9899 24 mkdir -p $DESTDIR/usr/bin &&
pankso@9899 25 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj &&
pankso@9899 26 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj &&
pankso@9899 27 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj &&
pankso@9899 28 chmod +x $DESTDIR/usr/bin/ecj &&
pankso@9899 29 mkdir -p $DESTDIR/usr/share/java &&
pankso@9900 30 cp -a $src/*.jar $DESTDIR/usr/share/java
rcx@3797 31 }
rcx@3797 32
rcx@3797 33 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3797 34 genpkg_rules()
rcx@3797 35 {
rcx@3797 36 mkdir -p $fs
rcx@3797 37 cp -a $_pkg/usr $fs
rcx@3797 38 }