wok-next view ecj/receipt @ rev 17147

eudev: set sysconfdir=/etc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 10 13:14:16 2014 +0200 (2014-09-10)
parents 45e5d2256ab7
children d5aab818505e
line source
1 # SliTaz package receipt.
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="rcx@zoominternet.net"
8 LICENSE="other"
9 TARBALL="$PACKAGE-$VERSION.jar"
10 WEB_SITE="http://www.eclipse.org/jdt/core/"
11 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
12 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL"
13 # 3.6:
14 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
15 TAGS="compiler java"
17 DEPENDS=""
18 BUILD_DEPENDS=""
19 SUGGESTED="java-jre"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 # Build the ecj shell script to use the current version
25 mkdir -p $DESTDIR/usr/bin &&
26 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj &&
27 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj &&
28 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj &&
29 chmod +x $DESTDIR/usr/bin/ecj &&
30 mkdir -p $DESTDIR/usr/share/java &&
31 cp -a $src/*.jar $DESTDIR/usr/share/java
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs
38 cp -a $install/usr $fs
39 }