wok view ecj/receipt @ rev 6655

Up: gpodder to 2.9.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 11 02:21:31 2010 +0000 (2010-10-11)
parents 31c985a0bd3d
children 1ee924e11aed
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 DEPENDS="jre"
9 #DEPENDS="java-jre"
10 BUILD_DEPENDS=""
11 SUGGESTED=""
12 TARBALL="$PACKAGE-$VERSION.jar"
13 WEB_SITE="http://www.eclipse.org/jdt/core/"
14 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
15 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL"
16 # 3.6:
17 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
18 TAGS="compiler java"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # Please see the link below for a feature request addressing jar untar errors
24 # http://labs.slitaz.org/issues/show/133
25 echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **"
27 # Build the ecj shell script to use the current version
28 mkdir -p $src/_pkg/usr/bin &&
29 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
30 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
31 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
32 chmod +x $src/_pkg/usr/bin/ecj &&
34 mkdir -p $src/_pkg/usr/share/java &&
35 cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java &&
36 echo " ** BUILD SUCCEEDED **"
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs
43 cp -a $_pkg/usr $fs
44 }