wok annotate ecj/receipt @ rev 8808

Add: libdrm-mach64 20110109
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Feb 23 01:16:27 2011 +0100 (2011-02-23)
parents e78352b9359e
children ad00280438a6
rev   line source
rcx@3797 1 # SliTaz package receipt.
rcx@3797 2
rcx@3797 3 PACKAGE="ecj"
rcx@5997 4 VERSION="3.6"
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@5997 14 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL"
rcx@5997 15 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL"
rcx@5997 16 # 3.6:
rcx@5997 17 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL"
jozee@4935 18 TAGS="compiler java"
rcx@3797 19
rcx@3797 20 # Rules to configure and make the package.
rcx@3797 21 compile_rules()
rcx@3797 22 {
rcx@3797 23 # Build the ecj shell script to use the current version
rcx@3797 24 mkdir -p $src/_pkg/usr/bin &&
rcx@3797 25 echo "#!/bin/sh" > $src/_pkg/usr/bin/ecj &&
rcx@3797 26 echo "ECJ_VERSION=$VERSION" >> $src/_pkg/usr/bin/ecj &&
rcx@3797 27 cat stuff/ecj.sh.part >> $src/_pkg/usr/bin/ecj &&
rcx@3797 28 chmod +x $src/_pkg/usr/bin/ecj &&
rcx@3797 29
rcx@3797 30 mkdir -p $src/_pkg/usr/share/java &&
gokhlayeh@8524 31 cp -a $src/$TARBALL $src/_pkg/usr/share/java
rcx@3797 32 }
rcx@3797 33
rcx@3797 34 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3797 35 genpkg_rules()
rcx@3797 36 {
rcx@3797 37 mkdir -p $fs
rcx@3797 38 cp -a $_pkg/usr $fs
rcx@3797 39 }