lfs-scripts/scripts/chapter8/8.21-mpc.sh

33 lines
335 B
Bash
Raw Normal View History

2023-01-11 06:07:12 +00:00
#!/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