wok-current annotate ecj/receipt @ rev 4536
Add yasm, yasm-dev
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Nov 30 10:44:20 2009 +0000 (2009-11-30) |
parents | 14b75f02548a |
children | 31c985a0bd3d |
rev | line source |
---|---|
rcx@3797 | 1 # SliTaz package receipt. |
rcx@3797 | 2 |
rcx@3797 | 3 PACKAGE="ecj" |
rcx@3877 | 4 VERSION="3.4.2" |
rcx@3797 | 5 CATEGORY="development" |
rcx@3797 | 6 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter." |
rcx@3797 | 7 MAINTAINER="rcx@zoominternet.net" |
rcx@3797 | 8 DEPENDS="jre" |
rcx@3877 | 9 #DEPENDS="java-jre" |
rcx@3797 | 10 BUILD_DEPENDS="" |
rcx@3877 | 11 SUGGESTED="" |
rcx@3797 | 12 TARBALL="$PACKAGE-$VERSION.jar" |
rcx@3797 | 13 WEB_SITE="http://www.eclipse.org/jdt/core/" |
rcx@3877 | 14 # 3.4.2: |
rcx@3877 | 15 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL" |
rcx@3877 | 16 # 3.5: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200906111540/$TARBALL" |
rcx@3797 | 17 |
rcx@3797 | 18 # Rules to configure and make the package. |
rcx@3797 | 19 compile_rules() |
rcx@3797 | 20 { |
rcx@3797 | 21 # Please see the link below for a feature request addressing jar untar errors |
rcx@3797 | 22 # http://labs.slitaz.org/issues/show/133 |
rcx@3797 | 23 echo " ** IGNORING ANY UNTAR ERRORS - UNTAR NOT NEEDED **" |
rcx@3797 | 24 |
rcx@3797 | 25 # Build the ecj shell script to use the current version |
rcx@3797 | 26 mkdir -p $src/_pkg/usr/bin && |
rcx@3797 | 27 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj && |
rcx@3797 | 28 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj && |
rcx@3797 | 29 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj && |
rcx@3797 | 30 chmod +x $src/_pkg/usr/bin/ecj && |
rcx@3797 | 31 |
rcx@3797 | 32 mkdir -p $src/_pkg/usr/share/java && |
rcx@3797 | 33 cp -a $SOURCES_REPOSITORY/$TARBALL $src/_pkg/usr/share/java && |
rcx@3797 | 34 echo " ** BUILD SUCCEEDED **" |
rcx@3797 | 35 } |
rcx@3797 | 36 |
rcx@3797 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3797 | 38 genpkg_rules() |
rcx@3797 | 39 { |
rcx@3797 | 40 mkdir -p $fs |
rcx@3797 | 41 cp -a $_pkg/usr $fs |
rcx@3797 | 42 } |