wok-current annotate ecj/receipt @ rev 24103
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 17 14:12:38 2021 +0000 (2021-09-17) |
parents | 97571bb7f365 |
children | 89c8d8b6cf48 |
rev | line source |
---|---|
rcx@3797 | 1 # SliTaz package receipt. |
rcx@3797 | 2 |
rcx@3797 | 3 PACKAGE="ecj" |
Hans-G?nter@22746 | 4 VERSION="4.14" |
rcx@3797 | 5 CATEGORY="development" |
Hans-G?nter@20865 | 6 TAGS="compiler java" |
rcx@3797 | 7 SHORT_DESC="The Eclipse standalone batch Java compiler and Ant compiler adapter." |
rcx@3797 | 8 MAINTAINER="rcx@zoominternet.net" |
pascal@15588 | 9 LICENSE="other" |
Hans-G?nter@20865 | 10 WEB_SITE="http://www.eclipse.org/jdt/core/" |
Hans-G?nter@20865 | 11 |
rcx@3797 | 12 TARBALL="$PACKAGE-$VERSION.jar" |
rcx@5997 | 13 # 3.4.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-200902111700/$TARBALL" |
rcx@5997 | 14 # 3.5.2: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201002111343/$TARBALL" |
Hans-G?nter@20865 | 15 # 3.6: WGET_URL="http://download.eclipse.org/eclipse/downloads/drops/R-$VERSION-201006080911/$TARBALL" |
Hans-G?nter@20865 | 16 # 4.10: |
Hans-G?nter@20865 | 17 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops4/R-$VERSION-201812060815/$TARBALL" |
Hans-G?nter@22746 | 18 # 4.14: |
Hans-G?nter@22746 | 19 WGET_URL="http://download.eclipse.org/eclipse/downloads/drops4/R-$VERSION-201912100610/$TARBALL" |
rcx@3797 | 20 |
Hans-G?nter@22746 | 21 SUGGESTED="java-jre" |
slaxemulator@9641 | 22 DEPENDS="" |
pankso@9634 | 23 BUILD_DEPENDS="" |
pankso@9634 | 24 |
rcx@3797 | 25 # Rules to configure and make the package. |
rcx@3797 | 26 compile_rules() |
rcx@3797 | 27 { |
rcx@3797 | 28 # Build the ecj shell script to use the current version |
pankso@9899 | 29 mkdir -p $DESTDIR/usr/bin && |
pankso@9899 | 30 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj && |
pankso@9899 | 31 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj && |
pankso@9899 | 32 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj && |
pankso@9899 | 33 chmod +x $DESTDIR/usr/bin/ecj && |
pankso@9899 | 34 mkdir -p $DESTDIR/usr/share/java && |
pankso@9900 | 35 cp -a $src/*.jar $DESTDIR/usr/share/java |
rcx@3797 | 36 } |
rcx@3797 | 37 |
rcx@3797 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3797 | 39 genpkg_rules() |
rcx@3797 | 40 { |
rcx@3797 | 41 mkdir -p $fs |
pascal@15588 | 42 cp -a $install/usr $fs |
rcx@3797 | 43 } |