gmp.build 296 B

123456789101112131415161718192021
  1. cd $tmpdir
  2. # Download sources
  3. if [ ! -f "$gmp" ]; then
  4. echo "Downloading GNU gmp sources..."
  5. wget $gmpmirror/$gmp
  6. tar -xf $gmp
  7. fi
  8. # Configure and compile
  9. cd $gmpsrcdir
  10. ./configure --prefix=$freondir --disable-static --enable-cxx
  11. make -j$corecount
  12. make install
  13. cd ..