wok annotate ecj/receipt @ rev 9640
Fixed last commit.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 26 19:48:46 2011 +0000 (2011-04-26) |
parents | 1ee924e11aed |
children | 3a51d8de6d09 |
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 |
pankso@9634 | 16 DEPENDS="java-jre" |
pankso@9634 | 17 BUILD_DEPENDS="" |
pankso@9634 | 18 |
rcx@3797 | 19 # Rules to configure and make the package. |
rcx@3797 | 20 compile_rules() |
rcx@3797 | 21 { |
rcx@3797 | 22 # Build the ecj shell script to use the current version |
rcx@3797 | 23 mkdir -p $src/_pkg/usr/bin && |
rcx@3797 | 24 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj && |
rcx@3797 | 25 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj && |
rcx@3797 | 26 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj && |
rcx@3797 | 27 chmod +x $src/_pkg/usr/bin/ecj && |
rcx@3797 | 28 |
rcx@3797 | 29 mkdir -p $src/_pkg/usr/share/java && |
gokhlayeh@8524 | 30 cp -a $src/$TARBALL $src/_pkg/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 } |