wok-next view ecj/receipt @ rev 8767

Updated physfs WGET_URL. Added wget to build depends make that work.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Feb 21 02:01:47 2011 +0000 (2011-02-21)
parents e78352b9359e
children ad00280438a6
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 # Build the ecj shell script to use the current version
24 mkdir -p $src/_pkg/usr/bin &&
25 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
26 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
27 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
28 chmod +x $src/_pkg/usr/bin/ecj &&
30 mkdir -p $src/_pkg/usr/share/java &&
31 cp -a $src/$TARBALL $src/_pkg/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 $_pkg/usr $fs
39 }