wok annotate ecj/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents 928ee03b0b6f
children f7324cde07d7
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
pascal@24476 25 # What is the latest version available today?
pascal@24476 26 current_version()
pascal@24476 27 {
pascal@24476 28 wget -O - ${WGET_URL%/*/*/*}/ 2>/dev/null | \
pascal@24476 29 sed '/Latest Release"/!d;s|.*R-||;s|-.*||;q'
pascal@24476 30 }
pascal@24476 31
rcx@3797 32 # Rules to configure and make the package.
rcx@3797 33 compile_rules()
rcx@3797 34 {
rcx@3797 35 # Build the ecj shell script to use the current version
pankso@9899 36 mkdir -p $DESTDIR/usr/bin &&
pankso@9899 37 echo "#!/bin/sh" > $DESTDIR/usr/bin/ecj &&
pankso@9899 38 echo "ECJ_VERSION=$VERSION" >> $DESTDIR/usr/bin/ecj &&
pankso@9899 39 cat $stuff/ecj.sh.part >> $DESTDIR/usr/bin/ecj &&
pankso@9899 40 chmod +x $DESTDIR/usr/bin/ecj &&
pankso@9899 41 mkdir -p $DESTDIR/usr/share/java &&
pankso@9900 42 cp -a $src/*.jar $DESTDIR/usr/share/java
rcx@3797 43 }
rcx@3797 44
rcx@3797 45 # Rules to gen a SliTaz package suitable for Tazpkg.
rcx@3797 46 genpkg_rules()
rcx@3797 47 {
rcx@3797 48 mkdir -p $fs
pascal@15588 49 cp -a $install/usr $fs
rcx@3797 50 }