wok view ecj/receipt @ rev 5655
Up: vorbis-tools (1.4.0)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun May 30 02:41:49 2010 +0000 (2010-05-30) |
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 }