mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-14 08:59:45 +00:00
30 lines
399 B
Bash
30 lines
399 B
Bash
#!/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
|
|
|