# ant-jdk08/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] # 1. Debian was last checked in late 2006. At the time, Debian patches # existed for this package, but they appeared to be Debian-speci- # fic and/or incompatible with the release that we were using # (1.7.0). #--------------------------------------------------------------------- # 2. Presently, the standard version of "ant" requires a support lib- # rary named "JUnit". The "JUnit" library was optional for older ver- # sions of "ant", and it's not clear why the library has been made # mandatory. "JUnit" introduces complications such as a license that # we're not familiar with, and the functionality provided doesn't seem # to be essential. Therefore, this distro patches "ant" to remove the # dependency on "JUnit". #--------------------------------------------------------------------- # 3. FWIW: The patched version of "ant" seems to build OpenMap and # other Java packages without problems. #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.22 minutes) - 2023 dedi Xeon E3-1200 v3 4x2 32GB RAM 00.00 hours (or 000.27 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.28 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.45 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.03 hours (or 001.52 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] configure = none defer = glibc64 dontfind = openjdk10 license = See "license*.txt" in installed tree licfile = LICENSE licprefix = $PRODTREE/openjdk08 nosyslinks = yes patches = required proddir = none purge = no setpaths = openjdk08 shareddir = yes tmpsize = 29M unpack = relaxed #--------------------------------------------------------------------- [depends] openjdk08:strict #--------------------------------------------------------------------- [build] export JAVA_HOME=$PRODTREE/openjdk08 export ANT_HOME=$JAVA_HOME export PATH=$JAVA_HOME/bin:$PATH SPCMISC=$PKGDIR_SPECIAL/misc PREFIX=$PRODTREE/openjdk08 BINDIR=$PREFIX/bin LIBDIR=$PREFIX/lib MANDIR=$PREFIX/man/man1 mkdir -p $BINDIR $LIBDIR $MANDIR cp -p $PKGDIR_SPECIAL/misc/ant.1.gz $MANDIR/ rm -fr $MANDIR/ant.1 gzip -d $MANDIR/ant.1.gz sh ./bootstrap.sh cp -a bootstrap/bin/* $BINDIR/ cp -a bootstrap/lib/* $LIBDIR/ cd $LIBDIR touch jarbundler-2.2.0.jar rm jarbundler-2.2.0.jar unzip $SPCMISC/jarbundler-2.2.0.jar.zip cd $BINDIR mv ant ant.bin cp $PKGDIR_SPECIAL/antjdk08.wrapper.in ant chmod 755 ant #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = http://packages.debian.org/unstable/source/ant url_home = http://ant.apache.org/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ general/apache-ant.html url_tarball = http://www.apache.org/dist/ant/source/\ apache-ant-1.10.9-src.tar.bz2 #--------------------------------------------------------------------- [history] 170705 Updated from 1.8.2 to 1.10.1 180505 Updated to 1.10.3 210226 Updated to 1.10.9