Initial commit of LFS notes and scripts.
This commit is contained in:
25
lfs-scripts/mpfr.sh
Normal file
25
lfs-scripts/mpfr.sh
Normal 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}
|
||||
Reference in New Issue
Block a user