diff --git a/scripts/chapter8/8.64-libpipeline.sh b/scripts/chapter8/8.64-libpipeline.sh new file mode 100644 index 0000000..3face2c --- /dev/null +++ b/scripts/chapter8/8.64-libpipeline.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +cd /sources +tar xf libpipeline-1.5.6.tar.gz +cd libpipeline-1.5.6 + +./configure --prefix=/usr + +if [ $? -ne 0 ] +then + exit 1 +fi + +make -j5 + +if [ $? -ne 0 ] +then + exit 1 +fi + +make check + +make install + +cd /sources +rm -rf libpipeline-1.5.6 diff --git a/scripts/main.sh b/scripts/main.sh index bfebe4b..ce6ed58 100644 --- a/scripts/main.sh +++ b/scripts/main.sh @@ -1306,3 +1306,15 @@ then stop_script "chapter8/8.63-kbd" fi +# Chapter 8.64 +# ============ +echo "Building libpipeline" +su -c "bash $SCRIPT/chapter8/8.64-libpipeline.sh" + +# Exit on error +check_exit_code +if [ $exit_status -ne 0 ] +then + stop_script "chapter8/8.64-libpipeline.sh" +fi +