Add 8.72 - Build procps-ng

This commit is contained in:
Aditya 2023-01-12 19:52:13 +05:30
parent 135b1c88a3
commit 018481803b
2 changed files with 41 additions and 0 deletions

View 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

View file

@ -1402,3 +1402,15 @@ then
stop_script "chapter8/8.71-man-db.sh"
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