# ant-jdk15/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] #--------------------------------------------------------------------- # 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.01 hours (or 000.30 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.42 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 = openjdk08 openjdk10 license = See "license*.txt" in installed tree licfile = LICENSE licprefix = $PRODTREE/openjdk15 nosyslinks = yes proddir = none purge = no setpaths = openjdk15 shareddir = yes tmpsize = 29M unpack = relaxed #--------------------------------------------------------------------- [depends] openjdk15:strict #--------------------------------------------------------------------- [build] export JAVA_HOME=$PRODTREE/openjdk15 export ANT_HOME=$JAVA_HOME export PATH=$JAVA_HOME/bin:$PATH SPCMISC=$PKGDIR_SPECIAL/misc PREFIX=$PRODTREE/openjdk15 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/antjdk15.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