mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
26 lines
261 B
Bash
26 lines
261 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf gperf-3.1.tar.gz
|
|
cd gperf-3.1
|
|
|
|
./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j1 check
|
|
|
|
make install
|
|
|
|
cd /sources
|
|
rm -rf gperf-3.1
|