Add 8.27 - Build pkg-config

This commit is contained in:
Aditya 2023-01-11 14:44:14 +05:30
parent 24befb2ffd
commit 16b4d89bd1
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#!/bin/bash
cd /sources
tar xf pkg-config-0.29.2.tar.gz
cd pkg-config-0.29.2
./configure --prefix=/usr \
--with-internal-glib \
--disable-host-tool \
--docdir=/usr/share/doc/pkg-config-0.29.2
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make check
make install
cd /sources
rm -rf pkg-config-0.29.2

View file

@ -858,3 +858,14 @@ then
stop_script "chapter8/8.26-gcc.sh"
fi
# Chapter 8.27
# ============
echo "Building pkg-config.sh"
# Exit on error
check_exit_code
if [ $exit_status -ne 0 ]
then
stop_script "chapter8/8.27-pkg-config.sh"
fi