Add 8.56 - Build diffutils

This commit is contained in:
Aditya 2023-01-12 15:21:59 +05:30
parent 691d94a482
commit 7e52f4ee9f
3 changed files with 76 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#!/bin/bash
cd /sources
tar xf check-0.15.2.tar.gz
cd check-0.15.2
./configure --prefix=/usr --disable-static
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make docdir=/usr/share/doc/check-0.15.2 install
cd /sources
rm -rf check-0.15.2

View file

@ -0,0 +1,26 @@
#!/bin/bash
cd /sources
tar xf diffutils-3.8.tar.xz
cd diffutils-3.8
./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 diffutils-3.8

View file

@ -1198,3 +1198,27 @@ then
stop_script "bash $SCRIPT/chapter8/8.54-coreutils.sh" stop_script "bash $SCRIPT/chapter8/8.54-coreutils.sh"
fi fi
# Chapter 8.55
# ============
echo "Building check"
su -c "bash $SCRIPT/chapte8/8.55-check.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.55-check.sh"
fi
# Chapter 8.56
# ============
echo "Building diffutils"
su -c "bash $SCRIPT/chapter8/8.56-diffutils.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.56-diffutils.sh"
fi