
cd 13_pkg-config
gzip -d -f -c pkg-config-0.27.tar.gz > pkg-config-0.27.tar
tar -xf pkg-config-0.27.tar
cd pkg-config-0.27


echo To detect the formerly installed GLib...

export GLIB_CFLAGS="-I$PREFIX/include/glib-2.0 -I$PREFIX/lib/glib-2.0/include"
export GLIB_LIBS=-lglib-2.0

echo Compile...

./configure --prefix=$PREFIX
make clean
make 2>&1 | tee ../../logs/13_pkg-config-make.log
make install 2>&1 | tee ../../logs/13_pkg-config-makeinstall.log


unset GLIB_CFLAGS
unset GLIB_LIBS
cd ..
rm -rf pkg-config-0.27
rm -f pkg-config-0.27.tar