wok-next view ecj/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | d5aab818505e |
children | 88ae7f58c954 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ecj"
4 VERSION="3.6"
5 CATEGORY="development"
6 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://www.eclipse.org/jdt/core/"
10 HOST_ARCH="any"
12 TARBALL="$PACKAGE-$VERSION.jar"
13 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
14 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL"
15 # 3.6:
16 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
18 compile_rules() {
19 # Build the ecj shell script to use the current version
20 mkdir -p $install/usr/bin
21 echo "#!/bin/sh" > $install/usr/bin/ecj
22 echo "ECJ_VERSION=$VERSION" >> $install/usr/bin/ecj
23 cat $stuff/ecj.sh.part >> $install/usr/bin/ecj
24 chmod +x $install/usr/bin/ecj
25 mkdir -p $install/usr/share/java
26 cp -a $src/*.jar $install/usr/share/java
27 }
29 genpkg_rules() {
30 mkdir -p $fs
31 cp -a $install/usr $fs
32 SUGGESTED="java-jre"
33 TAGS="compiler java"
34 }