wok-next view ecj/receipt @ rev 5638
linux: fix check_modules.sh and tiny improvment
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 28 16:16:06 2010 +0200 (2010-05-28) |
parents | f0755d9e99ed |
children | e78352b9359e |
line source
1 # SliTaz package receipt.
3 PACKAGE="ecj"
4 VERSION="3.4.2"
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:
15 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
16 # 3.5: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200906111540/$TARBALL"
17 TAGS="compiler java"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Please see the link below for a feature request addressing jar untar errors
23 # http://labs.slitaz.org/issues/show/133
24 echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **"
26 # Build the ecj shell script to use the current version
27 mkdir -p $src/_pkg/usr/bin &&
28 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
29 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
30 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
31 chmod +x $src/_pkg/usr/bin/ecj &&
33 mkdir -p $src/_pkg/usr/share/java &&
34 cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java &&
35 echo " ** BUILD SUCCEEDED **"
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs
42 cp -a $_pkg/usr $fs
43 }