wok annotate ecj/receipt @ rev 5150
a2ps, dev86, icedtea6-jdk: compile_rules should be busybox compatible
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 24 08:33:13 2010 +0100 (2010-03-24) |
parents | f0755d9e99ed |
children | e78352b9359e |
rev | line source |
---|---|
rcx@3797 | 1 # SliTaz package receipt. |
rcx@3797 | 2 |
rcx@3797 | 3 PACKAGE="ecj" |
rcx@3877 | 4 VERSION="3.4.2" |
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@3877 | 14 # 3.4.2: |
rcx@3877 | 15 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL" |
rcx@3877 | 16 # 3.5: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200906111540/$TARBALL" |
jozee@4935 | 17 TAGS="compiler java" |
rcx@3797 | 18 |
rcx@3797 | 19 # Rules to configure and make the package. |
rcx@3797 | 20 compile_rules() |
rcx@3797 | 21 { |
rcx@3797 | 22 # Please see the link below for a feature request addressing jar untar errors |
rcx@3797 | 23 # http://labs.slitaz.org/issues/show/133 |
rcx@3797 | 24 echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **" |
rcx@3797 | 25 |
rcx@3797 | 26 # Build the ecj shell script to use the current version |
rcx@3797 | 27 mkdir -p $src/_pkg/usr/bin && |
rcx@3797 | 28 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj && |
rcx@3797 | 29 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj && |
rcx@3797 | 30 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj && |
rcx@3797 | 31 chmod +x $src/_pkg/usr/bin/ecj && |
rcx@3797 | 32 |
rcx@3797 | 33 mkdir -p $src/_pkg/usr/share/java && |
rcx@3797 | 34 cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java && |
rcx@3797 | 35 echo " ** BUILD SUCCEEDED **" |
rcx@3797 | 36 } |
rcx@3797 | 37 |
rcx@3797 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3797 | 39 genpkg_rules() |
rcx@3797 | 40 { |
rcx@3797 | 41 mkdir -p $fs |
rcx@3797 | 42 cp -a $_pkg/usr $fs |
rcx@3797 | 43 } |