wok-4.x view ecj/receipt @ rev 4286
neon: back to openssl, disable SOCK_CLOEXEC
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 26 13:29:54 2009 +0200 (2009-09-26) |
parents | 14b75f02548a |
children | 31c985a0bd3d |
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"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Please see the link below for a feature request addressing jar untar errors
22 # http://labs.slitaz.org/issues/show/133
23 echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **"
25 # Build the ecj shell script to use the current version
26 mkdir -p $src/_pkg/usr/bin &&
27 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
28 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
29 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
30 chmod +x $src/_pkg/usr/bin/ecj &&
32 mkdir -p $src/_pkg/usr/share/java &&
33 cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java &&
34 echo " ** BUILD SUCCEEDED **"
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs
41 cp -a $_pkg/usr $fs
42 }