lfs-scripts/scripts/chapter8/8.37-gperf.sh
2023-01-12 11:12:12 +05:30

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