mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-21 19:52:52 +00:00
Add 8.72 - Build procps-ng
This commit is contained in:
parent
135b1c88a3
commit
018481803b
2 changed files with 41 additions and 0 deletions
29
scripts/chapter8/8.72-procps-ng.sh
Normal file
29
scripts/chapter8/8.72-procps-ng.sh
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
tar xf procps-ng-4.0.0.tar.xz
|
||||||
|
cd procps-ng-4.0.0
|
||||||
|
|
||||||
|
./configure --prefix=/usr \
|
||||||
|
--docdir=/usr/share/doc/procps-ng-4.0.0 \
|
||||||
|
--disable-static \
|
||||||
|
--disable-kill
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make -j5
|
||||||
|
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
make check
|
||||||
|
|
||||||
|
make install
|
||||||
|
|
||||||
|
cd /sources
|
||||||
|
rm -rf procps-ng-4.0.0
|
|
@ -1402,3 +1402,15 @@ then
|
||||||
stop_script "chapter8/8.71-man-db.sh"
|
stop_script "chapter8/8.71-man-db.sh"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Chapter 8.72
|
||||||
|
# ============
|
||||||
|
echo "Building procps-ng"
|
||||||
|
su -c "bash $SCRIPT/chapter8/8.72-procps-ng.sh"
|
||||||
|
|
||||||
|
# Exit on error
|
||||||
|
check_exit_code
|
||||||
|
if [ $exit_status -ne 0 ]
|
||||||
|
then
|
||||||
|
stop_script "chapter8/8.72-procps-ng.sh"
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue