view download.sh @ 49:84341b143dbb

Turnerize.
author Rob Landley <rob@landley.net>
date Tue, 19 Dec 2006 00:32:36 -0500
parents fd937c731cac
children 6d6551a37687
line wrap: on
line source

#!/bin/sh

NO_ARCH=none
source include.sh

# Dark blue
echo -e "\e[34m"

# Download everything we haven't already got a copy of.

echo "=== Download source code." &&

# Required for cross compile toolchain

URL=http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.19.1.tar.bz2 \
SHA1=a373be93fcb55b97a5b96a422f690edafeff1de4 \
download &&

URL=http://www.uclibc.org/downloads/snapshots/uClibc-20061214.tar.bz2 \
SHA1= \
download &&

URL=ftp://ftp.gnu.org/gnu/binutils/binutils-2.17.tar.bz2 \
SHA1=a557686eef68362ea31a3aa41ce274e3eeae1ef0 \
download &&

URL=ftp://ftp.gnu.org/gnu/gcc/gcc-4.1.1/gcc-core-4.1.1.tar.bz2 \
SHA1=147e12bf96a8d857fda1d43f0d7ea599b89cebf9 \
download &&

# Ye olde emulator

URL=http://qemu.org/qemu-0.8.2.tar.gz \
SHA1=d775239a545e7d0c5b677660a2122df590afde6d \
download &&

# Required for native build environment

URL=http://ftp.gnu.org/gnu/gcc/gcc-4.1.1/gcc-g++-4.1.1.tar.bz2 \
SHA1=909672543af9a7b88898cd256e25ccd4a9f009b1 &&
download &&

URL=http://superb-east.dl.sourceforge.net/sourceforge/squashfs/squashfs3.1.tar.gz \
SHA1=89d537fd18190402ff226ff885ddbc14f6227a9b \
download &&

URL=http://www.busybox.net/downloads/busybox-1.2.2.tar.bz2 \
SHA1=59670600121c9dacfd61e72e34f4bd975ec2c36f \
download &&

URL=ftp://ftp.gnu.org/gnu/make/make-3.81.tar.bz2 \
SHA1=41ed86d941b9c8025aee45db56c0283169dcab3d \
download &&

echo === Got all source. &&

cleanup_oldfiles

# Set color back to normal.
echo -e "\e[0m"