# ac213/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. This package installs an  ancient  version  of "autoconf" from 1999
(release 2.13).  Two changes are made to keep "ac213" from conflicting
with other copies of "autoconf":

    (a) The "ac213" executables are  renamed. Specifically, the suffix
        "-2.13" is added to each program name.

    (b) "ac213" is stored in  its own  directory tree.  This keeps its
        "share/autoconf" files separate from those  belonging to other
        copies of the program.

#---------------------------------------------------------------------

2. "ac213"  may be used to  rebuild  packages  that  aren't compatible
with other copies of "autoconf".

#---------------------------------------------------------------------

[buildtimes]

00.00 hours (or 000.02 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.00 hours (or 000.02 minutes) - HP EliteBook 8560w 32GB RAM
00.00 hours (or 000.03 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM
00.00 hours (or 000.05 minutes) - ThinkPad E540 i7 4x2 16GB RAM

#---------------------------------------------------------------------

[settings]
build    = default
exepack  = no
license  = GNU General Public License, version 2 (June 1991)
unpack   = relaxed

#---------------------------------------------------------------------

[depends]
gawk
m4

#---------------------------------------------------------------------

[configure]
bash ./configure \
    --prefix=$PKGDIR_PROD  \
    --build=$LACARCHBUILD  \
    --host=$LACARCHHOST

#---------------------------------------------------------------------

[postbuild]
cd $PKGDIR_PROD/bin

# Note: Release 2.13 doesn't include "autom4te".

for x in auto{conf,header,reconf,scan,update} ifnames
do
    sed \
-e 's@\(ac213/bin/auto[a-z0-9][a-z0-9]*\)@\1-2.13@' \
-i $x               || exit 1
    rm -fr $x-2.13  || exit 1
    mv $x  $x-2.13  || exit 1
done
rm -fr $PKGDIR_PROD/info

#---------------------------------------------------------------------

# 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  = n/a           # This is an ancient version
url_lfs     = n/a           # Ditto
url_home    = n/a           # Ditto

url_tarball = http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz