wok-6.x view ecj/receipt @ rev 3871

brscan*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 09 09:38:19 2009 +0200 (2009-08-09)
parents
children f0755d9e99ed
line source
1 # SliTaz package receipt.
3 PACKAGE="ecj"
4 VERSION="3.5"
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 BUILD_DEPENDS=""
10 TARBALL="$PACKAGE-$VERSION.jar"
11 WEB_SITE="http://www.eclipse.org/jdt/core/"
12 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
13 # 3.5:
14 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200906111540/$TARBALL"
15 PROVIDE="jdk"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Please see the link below for a feature request addressing jar untar errors
21 # http://labs.slitaz.org/issues/show/133
22 echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **"
24 # Build the ecj shell script to use the current version
25 mkdir -p $src/_pkg/usr/bin &&
26 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
27 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
28 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
29 chmod +x $src/_pkg/usr/bin/ecj &&
31 mkdir -p $src/_pkg/usr/share/java &&
32 cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java &&
33 echo " ** BUILD SUCCEEDED **"
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs
40 cp -a $_pkg/usr $fs
41 }