wok-stable view ecj/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents 738df91fb574
children
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 $DESTDIR/usr/bin &&
25 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj &&
26 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj &&
27 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj &&
28 chmod +x $DESTDIR/usr/bin/ecj &&
29 mkdir -p $DESTDIR/usr/share/java &&
30 cp -a $src/*.jar $DESTDIR/usr/share/java
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs
37 cp -a $_pkg/usr $fs
38 }