lfs-scripts/scripts/chapter8/8.21-mpc.sh
2023-01-11 11:37:12 +05:30

32 lines
335 B
Bash

#!/bin/bash
cd /sources
tar xf mpc-1.2.1.tar.gz
cd mpc-1.2.1
./configure --prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/mpc-1.2.1
if [ $? -ne 0 ]
then
exit 1
fi
make -j5
if [ $? -ne 0 ]
then
exit 1
fi
make hmtl
make check
make install
make install-html
cd /sources
rm -rf mpc-1.2.1