#!/bin/bash # ============================================================================ # DarkForge Linux — Phase 3, Chapter 8.48: Automake # ============================================================================ # Purpose: Build GNU Automake, which generates Makefile.in files from # Makefile.am templates. # Inputs: /sources/automake-1.17.tar.xz # Outputs: automake scripts and macros in /usr/ # Assumes: Running inside chroot, autoconf already built # Ref: LFS 13.0 §8.48 # ============================================================================ set -euo pipefail source /sources/toolchain-scripts/100-chroot-env.sh PACKAGE="automake" VERSION="1.17" echo "=== Building ${PACKAGE}-${VERSION} (Phase 3) ===" pkg_extract "${PACKAGE}-${VERSION}.tar.xz" cd "${PACKAGE}-${VERSION}" ./configure \ --prefix=/usr make make install pkg_cleanup "${PACKAGE}-${VERSION}" echo "=== ${PACKAGE}-${VERSION} complete ==="