comparison contrib/download_prerequisites @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
30 gmp='gmp-6.1.0.tar.bz2' 30 gmp='gmp-6.1.0.tar.bz2'
31 mpfr='mpfr-3.1.4.tar.bz2' 31 mpfr='mpfr-3.1.4.tar.bz2'
32 mpc='mpc-1.0.3.tar.gz' 32 mpc='mpc-1.0.3.tar.gz'
33 isl='isl-0.18.tar.bz2' 33 isl='isl-0.18.tar.bz2'
34 34
35 base_url='ftp://gcc.gnu.org/pub/gcc/infrastructure/' 35 base_url='http://gcc.gnu.org/pub/gcc/infrastructure/'
36 36
37 echo_archives() { 37 echo_archives() {
38 echo "${gmp}" 38 echo "${gmp}"
39 echo "${mpfr}" 39 echo "${mpfr}"
40 echo "${mpc}" 40 echo "${mpc}"
49 case $OS in 49 case $OS in
50 "Darwin"|"FreeBSD"|"DragonFly") 50 "Darwin"|"FreeBSD"|"DragonFly")
51 chksum='shasum -a 512 --check' 51 chksum='shasum -a 512 --check'
52 ;; 52 ;;
53 *) 53 *)
54 chksum='sha512sum --check' 54 chksum='sha512sum -c'
55 ;; 55 ;;
56 esac 56 esac
57 57
58 if type wget > /dev/null ; then 58 if type wget > /dev/null ; then
59 fetch='wget' 59 fetch='wget'
60 else 60 else
61 fetch='curl -LO -u anonymous:' 61 fetch='curl -LO'
62 fi 62 fi
63 chksum_extension='sha512' 63 chksum_extension='sha512'
64 directory='.' 64 directory='.'
65 65
66 helptext="usage: ${program} [OPTION...] 66 helptext="usage: ${program} [OPTION...]