wok-current view ecj/receipt @ rev 17981
Up pavucontrol (3.0)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sun Apr 19 16:32:26 2015 -0400 (2015-04-19) |
parents | 45e5d2256ab7 |
children | 97571bb7f365 |
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 }