Initial commit of LFS notes and scripts.

This commit is contained in:
Shaun Setlock
2025-01-20 15:44:57 -05:00
commit 386dc3cec7
78 changed files with 2628 additions and 0 deletions

25
lfs-scripts/mpfr.sh Normal file
View File

@@ -0,0 +1,25 @@
# 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}