wok-current diff ecj/receipt @ rev 3847
Up: inkscape (0.47pre1) :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Aug 07 15:03:46 2009 +0200 (2009-08-07) |
parents | |
children | f0755d9e99ed |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ecj/receipt Fri Aug 07 15:03:46 2009 +0200 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ecj" 1.7 +VERSION="3.5" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter." 1.10 +MAINTAINER="rcx@zoominternet.net" 1.11 +DEPENDS="jre" 1.12 +BUILD_DEPENDS="" 1.13 +TARBALL="$PACKAGE-$VERSION.jar" 1.14 +WEB_SITE="http://www.eclipse.org/jdt/core/" 1.15 +# 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL" 1.16 +# 3.5: 1.17 +WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200906111540/$TARBALL" 1.18 +PROVIDE="jdk" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + # Please see the link below for a feature request addressing jar untar errors 1.24 + # http://labs.slitaz.org/issues/show/133 1.25 + echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **" 1.26 + 1.27 + # Build the ecj shell script to use the current version 1.28 + mkdir -p $src/_pkg/usr/bin && 1.29 + echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj && 1.30 + echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj && 1.31 + cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj && 1.32 + chmod +x $src/_pkg/usr/bin/ecj && 1.33 + 1.34 + mkdir -p $src/_pkg/usr/share/java && 1.35 + cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java && 1.36 + echo " ** BUILD SUCCEEDED **" 1.37 +} 1.38 + 1.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 +genpkg_rules() 1.41 +{ 1.42 + mkdir -p $fs 1.43 + cp -a $_pkg/usr $fs 1.44 +}