Big script
This commit is contained in:
28
toolchain/scripts/101-man-pages.sh
Executable file
28
toolchain/scripts/101-man-pages.sh
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
# ============================================================================
|
||||
# DarkForge Linux — Phase 3, Chapter 8.3: Man-Pages
|
||||
# ============================================================================
|
||||
# Purpose: Install man-pages (system documentation).
|
||||
# This is the documentation for system calls, library functions, etc.
|
||||
# Inputs: /sources/man-pages-6.12.tar.xz
|
||||
# Outputs: /usr/share/man/ populated with man pages
|
||||
# Ref: LFS 13.0 §8.3
|
||||
# ============================================================================
|
||||
|
||||
set -euo pipefail
|
||||
source /sources/toolchain-scripts/100-chroot-env.sh
|
||||
|
||||
PACKAGE="man-pages"
|
||||
VERSION="6.12"
|
||||
|
||||
echo "=== Installing ${PACKAGE}-${VERSION} (Phase 3) ==="
|
||||
|
||||
pkg_extract "${PACKAGE}-${VERSION}.tar.xz"
|
||||
cd "${PACKAGE}-${VERSION}"
|
||||
|
||||
# man-pages is just documentation files, no compile step
|
||||
# Only install the man pages
|
||||
make prefix=/usr install
|
||||
|
||||
pkg_cleanup "${PACKAGE}-${VERSION}"
|
||||
echo "=== ${PACKAGE}-${VERSION} complete ==="
|
||||
Reference in New Issue
Block a user