wok-4.x annotate ecj/receipt @ rev 11624
Add libwebkit-video
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 25 18:12:23 2012 +0100 (2012-01-25) |
parents | 738df91fb574 |
children |
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 TARBALL="$PACKAGE-$VERSION.jar" |
rcx@3797 | 9 WEB_SITE="http://www.eclipse.org/jdt/core/" |
rcx@5997 | 10 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL" |
rcx@5997 | 11 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL" |
rcx@5997 | 12 # 3.6: |
rcx@5997 | 13 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL" |
jozee@4935 | 14 TAGS="compiler java" |
rcx@3797 | 15 |
slaxemulator@9641 | 16 DEPENDS="" |
pankso@9634 | 17 BUILD_DEPENDS="" |
slaxemulator@9641 | 18 SUGGESTED="java-jre" |
pankso@9634 | 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 |
pankso@9899 | 24 mkdir -p $DESTDIR/usr/bin && |
pankso@9899 | 25 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj && |
pankso@9899 | 26 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj && |
pankso@9899 | 27 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj && |
pankso@9899 | 28 chmod +x $DESTDIR/usr/bin/ecj && |
pankso@9899 | 29 mkdir -p $DESTDIR/usr/share/java && |
pankso@9900 | 30 cp -a $src/*.jar $DESTDIR/usr/share/java |
rcx@3797 | 31 } |
rcx@3797 | 32 |
rcx@3797 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3797 | 34 genpkg_rules() |
rcx@3797 | 35 { |
rcx@3797 | 36 mkdir -p $fs |
rcx@3797 | 37 cp -a $_pkg/usr $fs |
rcx@3797 | 38 } |