| git.druid.rocks | index | druid520 | ports | ports/ | build-tools/ | gnu-automake/ | add.sh |
ports/build-tools/gnu-automake/add.sh
set -e
# release tarball - see gnu-autoconf/add.sh for why: building from git
# runs ./bootstrap, which needs gnu-autoconf and this package's own
# aclocal already present, the same cycle gnu-autoconf hits in reverse.
# the tarball ships everything pre-generated, needing only perl and the
# gnu-autoconf that's already built by this point.
curl -LO https://ftp.gnu.org/gnu/automake/automake-1.18.tar.gz
tar xf automake-1.18.tar.gz
mv automake-1.18 automake
cd automake
./configure --prefix=$MP_PREFIX
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" -j$MP_JOBS
make install
make clean || true
cd ..
rm -rf automake automake-1.18.tar.gz