wok-6.x annotate ecj/receipt @ rev 21273
updated libplist and libplist-dev (1.4.0 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 12 17:10:00 2019 +0100 (2019-04-12) |
parents | fcdd50638150 |
children | 928ee03b0b6f |
rev | line source |
---|---|
rcx@3797 | 1 # SliTaz package receipt. |
rcx@3797 | 2 |
rcx@3797 | 3 PACKAGE="ecj" |
Hans-G?nter@20865 | 4 VERSION="4.10" |
rcx@3797 | 5 CATEGORY="development" |
Hans-G?nter@20865 | 6 TAGS="compiler java" |
rcx@3797 | 7 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter." |
rcx@3797 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@15588 | 9 LICENSE="other" |
Hans-G?nter@20865 | 10 WEB_SITE="http://www.eclipse.org/jdt/core/" |
Hans-G?nter@20865 | 11 |
rcx@3797 | 12 TARBALL="$PACKAGE-$VERSION.jar" |
rcx@5997 | 13 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL" |
rcx@5997 | 14 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL" |
Hans-G?nter@20865 | 15 # 3.6: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL" |
Hans-G?nter@20865 | 16 # 4.10: |
Hans-G?nter@20865 | 17 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops4/R-$VERSION-201812060815/$TARBALL" |
rcx@3797 | 18 |
slaxemulator@9641 | 19 DEPENDS="" |
pankso@9634 | 20 BUILD_DEPENDS="" |
slaxemulator@9641 | 21 SUGGESTED="java-jre" |
pankso@9634 | 22 |
rcx@3797 | 23 # Rules to configure and make the package. |
rcx@3797 | 24 compile_rules() |
rcx@3797 | 25 { |
rcx@3797 | 26 # Build the ecj shell script to use the current version |
pankso@9899 | 27 mkdir -p $DESTDIR/usr/bin && |
pankso@9899 | 28 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj && |
pankso@9899 | 29 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj && |
pankso@9899 | 30 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj && |
pankso@9899 | 31 chmod +x $DESTDIR/usr/bin/ecj && |
pankso@9899 | 32 mkdir -p $DESTDIR/usr/share/java && |
pankso@9900 | 33 cp -a $src/*.jar $DESTDIR/usr/share/java |
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 |
pascal@15588 | 40 cp -a $install/usr $fs |
rcx@3797 | 41 } |