Commit | Line | Data |
---|---|---|
970ed795 | 1 | ############################################################################### |
d44e3c4f | 2 | # Copyright (c) 2000-2016 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 | |
d44e3c4f | 7 | # |
8 | # Contributors: | |
9 | # > | |
10 | # Balasko, Jeno | |
11 | # | |
970ed795 EL |
12 | ############################################################################### |
13 | #!/bin/sh | |
14 | ||
15 | # download package sources with given version into src/ | |
16 | ||
17 | set -ex | |
18 | ||
19 | V_zlib=zlib-1.2.8 | |
20 | V_tar=tar-1.26 | |
21 | V_make=make-3.82 | |
22 | V_m4=m4-1.4.16 | |
23 | V_gmp=gmp-5.1.1 | |
24 | V_mpc=mpc-1.0.1 | |
25 | V_mpfr=mpfr-3.1.2 | |
26 | V_gcc=gcc-4.7.3 | |
27 | V_binutils=binutils-2.23.2 | |
28 | V_bison=bison-2.7 | |
29 | V_flex=flex-2.5.37 | |
30 | V_libiconv=libiconv-1.14 | |
31 | V_libxml2=libxml2-2.7.8 | |
32 | V_openssl=openssl-0.9.8y | |
33 | V_tcl=tcl8.6.0 | |
34 | V_expect=expect5.45 | |
35 | ||
36 | mkdir -p src | |
37 | cd src | |
38 | ||
39 | [ -f $V_make.tar.gz ] || wget http://mirrors.kernel.org/gnu/make/$V_make.tar.gz | |
40 | [ -f $V_tar.tar.gz ] || wget http://mirrors.kernel.org/gnu/tar/$V_tar.tar.gz | |
41 | [ -f $V_zlib.tar.gz ] || wget http://zlib.net/$V_zlib.tar.gz | |
42 | [ -f $V_binutils.tar.gz ] || wget http://mirrors.kernel.org/gnu/binutils/$V_binutils.tar.gz | |
43 | [ -f $V_mpfr.tar.gz ] || wget http://mirrors.kernel.org/gnu/mpfr/$V_mpfr.tar.gz | |
44 | [ -f $V_mpc.tar.gz ] || wget http://mirrors.kernel.org/gnu/mpc/$V_mpc.tar.gz | |
45 | [ -f $V_gmp.tar.bz2 ] || wget http://mirrors.kernel.org/gnu/gmp/$V_gmp.tar.bz2 | |
46 | [ -f $V_gcc.tar.gz ] || wget http://mirrors.kernel.org/gnu/gcc/$V_gcc/$V_gcc.tar.gz | |
47 | [ -f $V_libiconv.tar.gz ] || wget http://mirrors.kernel.org/gnu/libiconv/$V_libiconv.tar.gz | |
48 | [ -f $V_bison.tar.gz ] || wget http://mirrors.kernel.org/gnu/bison/$V_bison.tar.gz | |
49 | [ -f $V_flex.tar.gz ] || wget http://prdownloads.sourceforge.net/flex/$V_flex.tar.gz | |
50 | [ -f $V_m4.tar.gz ] || wget http://mirrors.kernel.org/gnu/m4/$V_m4.tar.gz | |
51 | [ -f $V_libxml2.tar.gz ] || wget ftp://xmlsoft.org/libxml2/$V_libxml2.tar.gz | |
52 | [ -f $V_openssl.tar.gz ] || wget http://www.openssl.org/source/$V_openssl.tar.gz | |
53 | [ -f $V_expect.tar.gz ] || wget http://downloads.sourceforge.net/project/expect/Expect/`echo $V |sed 's/expect//'`/$V.tar.gz | |
54 | [ -f $V_tcl.tar.gz ] || wget -O $V_tcl.tar.gz http://prdownloads.sourceforge.net/tcl/$V_tcl-src.tar.gz | |
55 | ||
56 | cd .. |