wok view ecj/receipt @ rev 22075
updated unetbootin (625 -> 675)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Oct 29 16:35:55 2019 +0100 (2019-10-29) |
parents | fcdd50638150 |
children | 928ee03b0b6f |
line source
1 # SliTaz package receipt.
3 PACKAGE="ecj"
4 VERSION="4.10"
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"
19 DEPENDS=""
20 BUILD_DEPENDS=""
21 SUGGESTED="java-jre"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Build the ecj shell script to use the current version
27 mkdir -p $DESTDIR/usr/bin &&
28 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj &&
29 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj &&
30 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj &&
31 chmod +x $DESTDIR/usr/bin/ecj &&
32 mkdir -p $DESTDIR/usr/share/java &&
33 cp -a $src/*.jar $DESTDIR/usr/share/java
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs
40 cp -a $install/usr $fs
41 }