aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/procps-ng.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter8/procps-ng.sh')
-rw-r--r--chapter8/procps-ng.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter8/procps-ng.sh b/chapter8/procps-ng.sh
index 7a693aa..a21e6e4 100644
--- a/chapter8/procps-ng.sh
+++ b/chapter8/procps-ng.sh
@@ -1,3 +1,15 @@
#!/bin/bash
+./configure --prefix=/usr \
+ --exec-prefix= \
+ --libdir=/usr/lib \
+ --docdir=/usr/share/doc/procps-ng-"${VERSION}" \
+ --disable-static \
+ --disable-kill
+make
+
+make -j1 install
+
+mv -v /usr/lib/libprocps.so.* /lib
+ln -sfv ../../lib/"$(readlink /usr/lib/libprocps.so)" /usr/lib/libprocps.so