wok-current annotate ecj/receipt @ rev 6674

Up busybox (1.17.3) with make 3.82 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 12 16:37:45 2010 +0200 (2010-10-12)
parents 31c985a0bd3d
children 1ee924e11aed
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 DEPENDS="jre"
rcx@3877 9 #DEPENDS="java-jre"
rcx@3797 10 BUILD_DEPENDS=""
rcx@3877 11 SUGGESTED=""
rcx@3797 12 TARBALL="$PACKAGE-$VERSION.jar"
rcx@3797 13 WEB_SITE="http://www.eclipse.org/jdt/core/"
rcx@5997 14 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
rcx@5997 15 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL"
rcx@5997 16 # 3.6:
rcx@5997 17 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
jozee@4935 18 TAGS="compiler java"
rcx@3797 19
rcx@3797 20 # Rules to configure and make the package.
rcx@3797 21 compile_rules()
rcx@3797 22 {
rcx@3797 23 # Please see the link below for a feature request addressing jar untar errors
rcx@3797 24 # http://labs.slitaz.org/issues/show/133
rcx@3797 25 echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **"
rcx@3797 26
rcx@3797 27 # Build the ecj shell script to use the current version
rcx@3797 28 mkdir -p $src/_pkg/usr/bin &&
rcx@3797 29 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
rcx@3797 30 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
rcx@3797 31 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
rcx@3797 32 chmod +x $src/_pkg/usr/bin/ecj &&
rcx@3797 33
rcx@3797 34 mkdir -p $src/_pkg/usr/share/java &&
rcx@3797 35 cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java &&
rcx@3797 36 echo " ** BUILD SUCCEEDED **"
rcx@3797 37 }
rcx@3797 38
rcx@3797 39 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3797 40 genpkg_rules()
rcx@3797 41 {
rcx@3797 42 mkdir -p $fs
rcx@3797 43 cp -a $_pkg/usr $fs
rcx@3797 44 }