#!/bin/bash

cat << EOF
#
# If you want to use the mirror repsoitory, edit the file /etc/apt/sources.list and add lines like follows:
#
deb      http://apt-mirror/ubuntu/mirror/archive.ubuntu.com/ubuntu intrepid          main restricted universe multiverse
deb-src  http://apt-mirror/ubuntu/mirror/archive.ubuntu.com/ubuntu intrepid          main restricted universe multiverse
deb      http://apt-mirror/ubuntu/mirror/archive.ubuntu.com/ubuntu intrepid-updates  main restricted universe multiverse
deb-src  http://apt-mirror/ubuntu/mirror/archive.ubuntu.com/ubuntu intrepid-updates  main restricted universe multiverse
deb      http://apt-mirror/ubuntu/mirror/archive.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
deb-src  http://apt-mirror/ubuntu/mirror/archive.ubuntu.com/ubuntu intrepid-security main restricted universe multiverse
#
# Then modify /etc/hosts to suit for the mirror machines IP on the local network
#
# eg:
#         echo 192.168.1.100	apt-mirror >> /etc/hosts
#
EOF


#
# Packages to install to set up a friendly default development environment on Ubuntu
#
sudo apt-get install g++ gcc gdb flex bison make 
sudo apt-get install vim ctags subversion git qgit curl wget cmake
sudo apt-get install minicom apache2 php5 perl libsvn-dev
sudo apt-get install manpages manpages-dev manpages-posix-dev
sudo apt-get install libcppunit-1.12-1 libcppunit-doc
sudo apt-get install libqt4-dev libqt4-core libqt4-gui libqt4-sql 
sudo apt-get install qt4-designer qt4-dev-tools qt4-doc qt4-qtconfig
sudo apt-get install graphviz doxygen libqttestrunner1c2a qdevelop
sudo apt-get install kchmviewer-nokde gnochm
sudo apt-get install libsvn-dev
sudo apt-get install ccache
echo
echo Add to ~/.bashrc
echo     export PATH=/usr/lib/ccache:$PATH
echo
# libapr1 libapr1-dbg libapr1-dev libaprutil1 libaprutil1-dbg libaprutil1-dev 
# build-essential
# llvm

mkdir $HOME/Code
mkdir $HOME/Development

svn co --username code "http://internal.invertedlogic.com/dev/code/" $HOME/Code

# cd Code/Makefiles
# make -f Makefile-qsvn-0.6.1    # Qt GUI frontend to SVN, newer version is 0.8
# make -f Makefile-chmox-latest  # CHM viewer for MacOSX


