wok-6.x view ecj/receipt @ rev 23621
updated ruby and ruby-dev (2.6.4 -> 2.7.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 14 15:51:31 2020 +0100 (2020-04-14) |
parents | 97571bb7f365 |
children | 89c8d8b6cf48 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ecj"
4 VERSION="4.14"
5 CATEGORY="development"
6 TAGS="compiler java"
7 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter."
8 MAINTAINER="rcx@zoominternet.net"
9 LICENSE="other"
10 WEB_SITE="http://www.eclipse.org/jdt/core/"
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: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
16 # 4.10:
17 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops4/R-$VERSION-201812060815/$TARBALL"
18 # 4.14:
19 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops4/R-$VERSION-201912100610/$TARBALL"
21 SUGGESTED="java-jre"
22 DEPENDS=""
23 BUILD_DEPENDS=""
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # Build the ecj shell script to use the current version
29 mkdir -p $DESTDIR/usr/bin &&
30 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj &&
31 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj &&
32 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj &&
33 chmod +x $DESTDIR/usr/bin/ecj &&
34 mkdir -p $DESTDIR/usr/share/java &&
35 cp -a $src/*.jar $DESTDIR/usr/share/java
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs
42 cp -a $install/usr $fs
43 }