mirror of
https://git.adityakumar.xyz/lfs-scripts.git
synced 2024-11-22 03:52:52 +00:00
27 lines
224 B
Bash
27 lines
224 B
Bash
#!/bin/bash
|
|
|
|
cd /sources
|
|
tar xf m4-1.4.19.tar.xz
|
|
cd m4-1.4.19
|
|
|
|
./configure --prefix=/usr
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make -j5
|
|
|
|
if [ $? -ne 0 ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
make check
|
|
|
|
make install
|
|
|
|
cd /sources
|
|
rm -rf m4-1.4.19
|
|
|