21 lines
310 B
Plaintext
Executable File
21 lines
310 B
Plaintext
Executable File
cd $tmpdir
|
|
|
|
# Download sources
|
|
if [ ! -f "$mpfr" ]; then
|
|
echo "Downloading GNU mpfr sources..."
|
|
wget $mpfrmirror/$mpfr
|
|
tar -xf $mpfr
|
|
fi
|
|
|
|
# Configure and compile
|
|
|
|
cd $mpfrsrcdir
|
|
|
|
./configure --prefix=$freondir --disable-static --enable-thread-safe
|
|
|
|
make -j$corecount
|
|
|
|
make install
|
|
|
|
cd ..
|