Commit | Line | Data |
---|---|---|
970ed795 | 1 | ############################################################################### |
3abe9331 | 2 | # Copyright (c) 2000-2015 Ericsson Telecom AB |
970ed795 EL |
3 | # All rights reserved. This program and the accompanying materials |
4 | # are made available under the terms of the Eclipse Public License v1.0 | |
5 | # which accompanies this distribution, and is available at | |
6 | # http://www.eclipse.org/legal/epl-v10.html | |
7 | ############################################################################### | |
8 | #!/bin/sh | |
9 | ||
10 | # download package sources with given version into src/ | |
11 | ||
12 | set -ex | |
13 | ||
14 | V_zlib=zlib-1.2.8 | |
15 | V_tar=tar-1.26 | |
16 | V_make=make-3.82 | |
17 | V_m4=m4-1.4.16 | |
18 | V_gmp=gmp-5.1.1 | |
19 | V_mpc=mpc-1.0.1 | |
20 | V_mpfr=mpfr-3.1.2 | |
21 | V_gcc=gcc-4.7.3 | |
22 | V_binutils=binutils-2.23.2 | |
23 | V_bison=bison-2.7 | |
24 | V_flex=flex-2.5.37 | |
25 | V_libiconv=libiconv-1.14 | |
26 | V_libxml2=libxml2-2.7.8 | |
27 | V_openssl=openssl-0.9.8y | |
28 | V_tcl=tcl8.6.0 | |
29 | V_expect=expect5.45 | |
30 | ||
31 | mkdir -p src | |
32 | cd src | |
33 | ||
34 | [ -f $V_make.tar.gz ] || wget http://mirrors.kernel.org/gnu/make/$V_make.tar.gz | |
35 | [ -f $V_tar.tar.gz ] || wget http://mirrors.kernel.org/gnu/tar/$V_tar.tar.gz | |
36 | [ -f $V_zlib.tar.gz ] || wget http://zlib.net/$V_zlib.tar.gz | |
37 | [ -f $V_binutils.tar.gz ] || wget http://mirrors.kernel.org/gnu/binutils/$V_binutils.tar.gz | |
38 | [ -f $V_mpfr.tar.gz ] || wget http://mirrors.kernel.org/gnu/mpfr/$V_mpfr.tar.gz | |
39 | [ -f $V_mpc.tar.gz ] || wget http://mirrors.kernel.org/gnu/mpc/$V_mpc.tar.gz | |
40 | [ -f $V_gmp.tar.bz2 ] || wget http://mirrors.kernel.org/gnu/gmp/$V_gmp.tar.bz2 | |
41 | [ -f $V_gcc.tar.gz ] || wget http://mirrors.kernel.org/gnu/gcc/$V_gcc/$V_gcc.tar.gz | |
42 | [ -f $V_libiconv.tar.gz ] || wget http://mirrors.kernel.org/gnu/libiconv/$V_libiconv.tar.gz | |
43 | [ -f $V_bison.tar.gz ] || wget http://mirrors.kernel.org/gnu/bison/$V_bison.tar.gz | |
44 | [ -f $V_flex.tar.gz ] || wget http://prdownloads.sourceforge.net/flex/$V_flex.tar.gz | |
45 | [ -f $V_m4.tar.gz ] || wget http://mirrors.kernel.org/gnu/m4/$V_m4.tar.gz | |
46 | [ -f $V_libxml2.tar.gz ] || wget ftp://xmlsoft.org/libxml2/$V_libxml2.tar.gz | |
47 | [ -f $V_openssl.tar.gz ] || wget http://www.openssl.org/source/$V_openssl.tar.gz | |
48 | [ -f $V_expect.tar.gz ] || wget http://downloads.sourceforge.net/project/expect/Expect/`echo $V |sed 's/expect//'`/$V.tar.gz | |
49 | [ -f $V_tcl.tar.gz ] || wget -O $V_tcl.tar.gz http://prdownloads.sourceforge.net/tcl/$V_tcl-src.tar.gz | |
50 | ||
51 | cd .. |