wok-next view ecj/receipt @ rev 21727

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