Big script
This commit is contained in:
32
toolchain/scripts/145-automake.sh
Executable file
32
toolchain/scripts/145-automake.sh
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/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 ==="
|
||||
Reference in New Issue
Block a user