wok-4.x view ecj/receipt @ rev 9732

linux: Fix 2. clean up and make it build with cookutils: FIXME: tazwok specif code (aufs is ok for cook and tazwok I guess)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 15:57:19 2011 +0200 (2011-05-09)
parents ad00280438a6
children 738df91fb574
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 TARBALL="$PACKAGE-$VERSION.jar"
9 WEB_SITE="http://www.eclipse.org/jdt/core/"
10 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
11 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL"
12 # 3.6:
13 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
14 TAGS="compiler java"
16 DEPENDS=""
17 BUILD_DEPENDS=""
18 SUGGESTED="java-jre"
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 }