wok-next annotate ecj/receipt @ rev 21057
Deal with HOST_ARCH="any"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 03 14:47:30 2018 +0200 (2018-12-03) |
parents | d5aab818505e |
children | 88ae7f58c954 |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
rcx@3797 | 2 |
rcx@3797 | 3 PACKAGE="ecj" |
rcx@5997 | 4 VERSION="3.6" |
rcx@3797 | 5 CATEGORY="development" |
al@21020 | 6 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15588 | 8 LICENSE="other" |
al@21020 | 9 WEB_SITE="http://www.eclipse.org/jdt/core/" |
al@21057 | 10 HOST_ARCH="any" |
al@21020 | 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" |
rcx@5997 | 15 # 3.6: |
rcx@5997 | 16 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL" |
rcx@3797 | 17 |
al@21020 | 18 compile_rules() { |
rcx@3797 | 19 # Build the ecj shell script to use the current version |
al@21020 | 20 mkdir -p $install/usr/bin |
al@21020 | 21 echo "#!/bin/sh" > $install/usr/bin/ecj |
al@21020 | 22 echo "ECJ_VERSION=$VERSION" >> $install/usr/bin/ecj |
al@21020 | 23 cat $stuff/ecj.sh.part >> $install/usr/bin/ecj |
al@21020 | 24 chmod +x $install/usr/bin/ecj |
al@21020 | 25 mkdir -p $install/usr/share/java |
al@21020 | 26 cp -a $src/*.jar $install/usr/share/java |
rcx@3797 | 27 } |
rcx@3797 | 28 |
al@21020 | 29 genpkg_rules() { |
rcx@3797 | 30 mkdir -p $fs |
pascal@15588 | 31 cp -a $install/usr $fs |
al@21020 | 32 SUGGESTED="java-jre" |
al@21020 | 33 TAGS="compiler java" |
rcx@3797 | 34 } |