wok-next annotate ecj/receipt @ rev 18030
Up: cookutils, cookutils-daemon (729).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 08 11:52:32 2015 +0300 (2015-05-08) |
parents | 45e5d2256ab7 |
children | d5aab818505e |
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" |
pascal@15588 | 8 LICENSE="other" |
rcx@3797 | 9 TARBALL="$PACKAGE-$VERSION.jar" |
rcx@3797 | 10 WEB_SITE="http://www.eclipse.org/jdt/core/" |
rcx@5997 | 11 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL" |
rcx@5997 | 12 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL" |
rcx@5997 | 13 # 3.6: |
rcx@5997 | 14 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL" |
jozee@4935 | 15 TAGS="compiler java" |
rcx@3797 | 16 |
slaxemulator@9641 | 17 DEPENDS="" |
pankso@9634 | 18 BUILD_DEPENDS="" |
slaxemulator@9641 | 19 SUGGESTED="java-jre" |
pankso@9634 | 20 |
rcx@3797 | 21 # Rules to configure and make the package. |
rcx@3797 | 22 compile_rules() |
rcx@3797 | 23 { |
rcx@3797 | 24 # Build the ecj shell script to use the current version |
pankso@9899 | 25 mkdir -p $DESTDIR/usr/bin && |
pankso@9899 | 26 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj && |
pankso@9899 | 27 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj && |
pankso@9899 | 28 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj && |
pankso@9899 | 29 chmod +x $DESTDIR/usr/bin/ecj && |
pankso@9899 | 30 mkdir -p $DESTDIR/usr/share/java && |
pankso@9900 | 31 cp -a $src/*.jar $DESTDIR/usr/share/java |
rcx@3797 | 32 } |
rcx@3797 | 33 |
rcx@3797 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3797 | 35 genpkg_rules() |
rcx@3797 | 36 { |
rcx@3797 | 37 mkdir -p $fs |
pascal@15588 | 38 cp -a $install/usr $fs |
rcx@3797 | 39 } |