Use $CONFIG_DIR were appropriate
[qi-bootmenu-system/guyou.git] / download.sh
blob9c5308f07bcd252a905b844225bb62a74014e9eb
1 #!/bin/bash
3 # Download everything we haven't already got a copy of.
5 source sources/include.sh || exit 1
7 mkdir -p "$SRCDIR" || dienow
9 echo "=== Download source code."
11 # List of fallback mirrors for these files
13 MIRROR_LIST=
15 # Note: set SHA1= blank to skip checksum validation.
17 # A blank SHA1 value means accept anything, and the download script
18 # prints out the sha1 of such files after downloading it. So to update to
19 # a new version of a file, set SHA1= and update the URL, run ./download.sh,
20 # then cut and paste the sha1 from the output and run it again to confirm.
22 URL=http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.4.tar.bz2 \
23 SHA1=44504009f86e88da419f593b009475f3255b9e13 \
24 UNSTABLE=http://kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.31-rc5.tar.bz2 \
25 download || dienow
27 URL=http://www.uclibc.org/downloads/uClibc-0.9.30.1.tar.bz2 \
28 SHA1=4b36fec9a0dacbd6fe0fd2cdb7836aaf8b7f4992 \
29 UNSTABLE=http://uclibc.org/downloads/uClibc-snapshot.tar.bz2 \
30 download || dienow
32 URL=http://www.busybox.net/downloads/busybox-1.14.3.tar.bz2 \
33 SHA1=0162e2210e7b95396ee35f005929f747ecb9ad8f \
34 UNSTABLE=http://busybox.net/downloads/busybox-snapshot.tar.bz2 \
35 download || dienow
37 URL=http://www.kernel.org/pub/linux/kernel/people/horms/kexec-tools/kexec-tools-2.0.1.tar.bz2 \
38 SHA1=d3711794a2161bb88c75b74b5d6b41596e505b25 \
39 download || dienow
41 URL=http://www.zlib.net/zlib-1.2.3.tar.bz2 \
42 SHA1=967e280f284d02284b0cd8872a8e2e04bfdc7283 \
43 download || dienow
45 #URL=http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz \
46 #SHA1=5b0524131cf0d7abd50734077f13aaa5508f6bbe \
47 #download || dienow
49 # note there is no backslash at the end because of the symlink hack
50 URL=http://www.ijg.org/files/jpegsrc.v7.tar.gz
51 SHA1=88cced0fc3dbdbc82115e1d08abce4e9d23a4b47 \
52 download && ln -sf "`echo $URL | sed 's .*/ '`" "$SRCDIR/libjpeg-`echo $URL | sed 's,.*\.\(v.*\),\1,'`"
54 URL=http://downloads.sourceforge.net/project/libpng/00-libpng-stable/1.2.40/libpng-1.2.40.tar.bz2 \
55 SHA1=776cf18a799af58303590f6996f6d3aa5a7908ff \
56 download || dienow
58 #URL=http://www.brain-dump.org/tmp/tslib-1.0.0-r77-patched.tar.bz2 \
59 #SHA1=37e6e7fd0ad30cea19f03bf0276100d606861d00 \
60 SHA1= SCM_REV=77 \
61 URL=svn://svn.berlios.de/tslib/trunk/tslib \
62 download || dienow
64 URL=http://mirrors.zerg.biz/nongnu/freetype/freetype-2.3.9.tar.bz2 \
65 SHA1=db08969cb5053879ff9e973fe6dd2c52c7ea2d4e \
66 download || dienow
68 #URL=http://download.enlightenment.org/snapshots/2009-07-29/eina-0.0.2.062.tar.bz2 \
69 #SHA1=937e3d7744cb70d6b79a6f55143cb85e2ac52013 \
70 SHA1= SCM=svn SCM_REV=42803 \
71 URL=http://svn.enlightenment.org/svn/e/trunk/eina \
72 download || dienow
74 #URL=http://download.enlightenment.org/releases/eet-1.2.2.tar.bz2 \
75 #SHA1=971bc5b4d3678369b7c9e86cb641644d80109b26 \
76 SHA1= SCM=svn SCM_REV=42803 \
77 URL=http://svn.enlightenment.org/svn/e/trunk/eet \
78 download || dienow
80 #URL=http://download.enlightenment.org/snapshots/2009-07-29/evas-0.9.9.062.tar.bz2 \
81 #SHA1=182bd28662f40a498a40c2ecf9ae41ff53c167b8 \
82 SHA1= SCM=svn SCM_REV=42803 \
83 URL=http://svn.enlightenment.org/svn/e/trunk/evas \
84 download || dienow
86 #URL=http://download.enlightenment.org/snapshots/2009-07-29/ecore-0.9.9.062.tar.bz2 \
87 #SHA1=45d27ff2a3b1dd749bad7b5132bbed94beff10d4 \
88 SHA1= SCM=svn SCM_REV=42803 \
89 URL=http://svn.enlightenment.org/svn/e/trunk/ecore \
90 download || dienow
92 #URL=http://download.enlightenment.org/snapshots/2009-07-29/embryo-0.9.9.062.tar.bz2 \
93 #SHA1=a4939038dd5951a75b91085de0e9bf7bf1b9e16e \
94 SHA1= SCM=svn SCM_REV=42803 \
95 URL=http://svn.enlightenment.org/svn/e/trunk/embryo \
96 download || dienow
98 URL=http://www.lua.org/ftp/lua-5.1.4.tar.gz \
99 SHA1=2b11c8e60306efb7f0734b747588f57995493db7 \
100 download || dienow
102 #URL=http://download.enlightenment.org/snapshots/2009-07-29/edje-0.9.92.062.tar.bz2 \
103 #SHA1=ede4573df69e4c2fdeaf72b930556491680c7167 \
104 SHA1= SCM=svn SCM_REV=42803 \
105 URL=http://svn.enlightenment.org/svn/e/trunk/edje \
106 download || dienow
108 #URL=http://download.enlightenment.org/snapshots/2009-07-29/elementary-0.5.1.0.tar.bz2 \
109 #SHA1=3cad3467aba08167de1e8d41235126ee7cd5a533 \
110 SHA1= SCM=svn SCM_REV=42803 \
111 URL=http://svn.enlightenment.org/svn/e/trunk/TMP/st/elementary \
112 download || dienow
114 URL=http://matt.ucc.asn.au/dropbear/releases/dropbear-0.52.tar.bz2 \
115 SHA1=8c1745a9b64ffae79f28e25c6fe9a8b96cac86d8 \
116 download || dienow
118 URL=http://www.brain-dump.org/tmp/qi-bootmenu-system/dialog-elementary-v0.tar.bz2 \
119 SHA1=2661a31ff87b72519fa7f55135a2da45efaf2d40 \
120 download || dienow
122 URL=http://users.telenet.be/geertu/Linux/fbdev/fbset-2.1.tar.gz \
123 SHA1=141c42769818a08f1370a60dc3a809d87530db78 \
124 download || dienow
126 URL=http://surfnet.dl.sourceforge.net/project/strace/strace/4.5.18/strace-4.5.18.tar.bz2 \
127 URL=http://downloads.sourceforge.net/project/strace/strace/4.5.18/strace-4.5.18.tar.bz2 \
128 SHA1=50081a7201dc240299396f088abe53c07de98e4c \
129 download || dienow
131 URL=http://ftp.gnu.org/gnu/gdb/gdb-7.0.tar.bz2 \
132 SHA1=8aed621b7ddb8c82b6ff213b56c028787db90582 \
133 download || dienow
135 echo === Got all source.
137 cleanup_oldfiles
138 blank_tempdir "$WORK"
140 # Set color back to normal.
141 echo -ne "\e[0m"