lfs-scripts/scripts/chapter8/8.27-pkg-config.sh

31 lines
399 B
Bash
Raw Normal View History

2023-01-11 09:14:14 +00:00
#!/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