Big script
This commit is contained in:
32
toolchain/scripts/130-psmisc.sh
Executable file
32
toolchain/scripts/130-psmisc.sh
Executable file
@@ -0,0 +1,32 @@
|
||||
#!/bin/bash
|
||||
# ============================================================================
|
||||
# DarkForge Linux — Phase 3, Chapter 8.33: Psmisc
|
||||
# ============================================================================
|
||||
# Purpose: Build psmisc (Process Signalling Miscellaneous) utilities.
|
||||
# Provides killall, pstree, fuser for process management.
|
||||
# Inputs: /sources/psmisc-23.7.tar.xz
|
||||
# Outputs: psmisc utilities in /usr/bin/ and /usr/sbin/
|
||||
# Assumes: Running inside chroot
|
||||
# Ref: LFS 13.0 §8.33
|
||||
# ============================================================================
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
source /sources/toolchain-scripts/100-chroot-env.sh
|
||||
|
||||
PACKAGE="psmisc"
|
||||
VERSION="23.7"
|
||||
|
||||
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