26 lines
470 B
Bash
26 lines
470 B
Bash
# Set the package we're building.
|
|
package="mpfr-4.2.1"
|
|
|
|
# Decompress the source.
|
|
tar xvf ${package}.tar.xz
|
|
|
|
# Enter the unpacked sources.
|
|
cd ${package}
|
|
|
|
# LFS commands.
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--enable-thread-safe \
|
|
--docdir=/usr/share/doc/mpfr-4.2.1
|
|
make
|
|
make html
|
|
make check
|
|
make install
|
|
make install-html
|
|
|
|
# Exit sources directory.
|
|
cd ..
|
|
|
|
# Remove the directory of source files.
|
|
rm -rf ${package}
|