mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
29 lines
406 B
Bash
29 lines
406 B
Bash
#!/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
|