wok annotate ecj/receipt @ rev 3797

Add: ecj (3.5)
author Matthew Sheets <rcx@zoominternet.net>
date Mon Aug 03 11:49:03 2009 +0000 (2009-08-03)
parents
children f0755d9e99ed
rev   line source
rcx@3797 1 # SliTaz package receipt.
rcx@3797 2
rcx@3797 3 PACKAGE="ecj"
rcx@3797 4 VERSION="3.5"
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@3797 9 BUILD_DEPENDS=""
rcx@3797 10 TARBALL="$PACKAGE-$VERSION.jar"
rcx@3797 11 WEB_SITE="http://www.eclipse.org/jdt/core/"
rcx@3797 12 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
rcx@3797 13 # 3.5:
rcx@3797 14 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200906111540/$TARBALL"
rcx@3797 15 PROVIDE="jdk"
rcx@3797 16
rcx@3797 17 # Rules to configure and make the package.
rcx@3797 18 compile_rules()
rcx@3797 19 {
rcx@3797 20 # Please see the link below for a feature request addressing jar untar errors
rcx@3797 21 # http://labs.slitaz.org/issues/show/133
rcx@3797 22 echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **"
rcx@3797 23
rcx@3797 24 # Build the ecj shell script to use the current version
rcx@3797 25 mkdir -p $src/_pkg/usr/bin &&
rcx@3797 26 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
rcx@3797 27 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
rcx@3797 28 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
rcx@3797 29 chmod +x $src/_pkg/usr/bin/ecj &&
rcx@3797 30
rcx@3797 31 mkdir -p $src/_pkg/usr/share/java &&
rcx@3797 32 cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java &&
rcx@3797 33 echo " ** BUILD SUCCEEDED **"
rcx@3797 34 }
rcx@3797 35
rcx@3797 36 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3797 37 genpkg_rules()
rcx@3797 38 {
rcx@3797 39 mkdir -p $fs
rcx@3797 40 cp -a $_pkg/usr $fs
rcx@3797 41 }