wok-next annotate ecj/receipt @ rev 21615
updated ecj (3.6 -> 4.16)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 11:11:54 2020 +0100 (2020-06-25) |
parents | 0cbe4b1f2230 |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
rcx@3797 | 2 |
rcx@3797 | 3 PACKAGE="ecj" |
Hans-G?nter@21615 | 4 VERSION="4.16" |
rcx@3797 | 5 CATEGORY="development" |
Hans-G?nter@21615 | 6 TAGS="compiler java" |
al@21020 | 7 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter" |
Hans-G?nter@21615 | 8 MAINTAINER="maintainer@slitaz.org" |
pascal@15588 | 9 LICENSE="other" |
al@21020 | 10 WEB_SITE="http://www.eclipse.org/jdt/core/" |
al@21057 | 11 HOST_ARCH="any" |
al@21020 | 12 |
rcx@3797 | 13 TARBALL="$PACKAGE-$VERSION.jar" |
rcx@5997 | 14 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL" |
rcx@5997 | 15 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL" |
rcx@5997 | 16 # 3.6: |
Hans-G?nter@21615 | 17 #WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL" |
Hans-G?nter@21615 | 18 # 4.16: |
Hans-G?nter@21615 | 19 WGET_URL="https://download.eclipse.org/eclipse/downloads/drops4/R-$VERSION-202006040540/$TARBALL" |
rcx@3797 | 20 |
Hans-G?nter@21615 | 21 compile_rules() |
Hans-G?nter@21615 | 22 { |
rcx@3797 | 23 # Build the ecj shell script to use the current version |
al@21020 | 24 mkdir -p $install/usr/bin |
al@21020 | 25 echo "#!/bin/sh" > $install/usr/bin/ecj |
al@21020 | 26 echo "ECJ_VERSION=$VERSION" >> $install/usr/bin/ecj |
al@21020 | 27 cat $stuff/ecj.sh.part >> $install/usr/bin/ecj |
Hans-G?nter@21615 | 28 chmod +x $install/usr/bin/ecj |
Hans-G?nter@21615 | 29 mkdir -p $install/usr/share/java |
Hans-G?nter@21615 | 30 cp -a $src/*.jar $install/usr/share/java |
rcx@3797 | 31 } |
rcx@3797 | 32 |
Hans-G?nter@21615 | 33 genpkg_rules() |
Hans-G?nter@21615 | 34 { |
Hans-G?nter@21615 | 35 cp -a $install/usr $fs |
al@21020 | 36 SUGGESTED="java-jre" |
rcx@3797 | 37 } |