wok-6.x view ecj/receipt @ rev 21198
zfs-fuse: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 14:55:40 2019 +0200 (2019-04-06) |
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 }