mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-09 23:19:44 +00:00
Add 8.64 - Build libpipeline
This commit is contained in:
parent
315323b2cd
commit
ff7485004a
2 changed files with 38 additions and 0 deletions
26
scripts/chapter8/8.64-libpipeline.sh
Normal file
26
scripts/chapter8/8.64-libpipeline.sh
Normal file
|
@ -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
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue