#!/bin/bash

if [ ! -e dependencies ]; then
    mkdir dependencies
fi
cd dependencies

deps_dir=`pwd`


# raknet
if [ -e raknet ]; then
  rm -rf raknet
fi
if [ -e installed-raknet ]; then
  rm -rf installed-raknet
fi

mkdir raknet
cd raknet
wget http://www.jenkinssoftware.com/raknet/downloads/RakNet-3.401.zip
unzip RakNet-3.401.zip
sh bootstrap
./configure --prefix=${deps_dir}/installed-raknet
make
make install
cd ..


# sst
if [ -e sst ]; then
  rm -rf sst
fi
if [ -e installed-sst ]; then
  rm -rf installed-sst
fi

svn co svn://svn.pdos.csail.mit.edu/uia/trunk/uia/sst
cd sst
misc/setup
./configure --prefix=${deps_dir}/installed-sst
make
make install

#!/bin/bash

if [ ! -e dependencies ]; then
    mkdir dependencies
fi
cd dependencies

deps_dir=`pwd`


# raknet
if [ -e raknet ]; then
  rm -rf raknet
fi
if [ -e installed-raknet ]; then
  rm -rf installed-raknet
fi

mkdir raknet
cd raknet
wget http://www.jenkinssoftware.com/raknet/downloads/RakNet-3.401.zip
unzip RakNet-3.401.zip
sh bootstrap
./configure --prefix=${deps_dir}/installed-raknet
make
make install
cd ..


# sst
if [ -e sst ]; then
  rm -rf sst
fi
if [ -e installed-sst ]; then
  rm -rf installed-sst
fi

#svn co svn://svn.pdos.csail.mit.edu/uia/trunk/uia/sst
git clone git@ahoy:sst.git
cd sst
git branch stanford origin/stanford
git checkout stanford
misc/setup
./configure --prefix=${deps_dir}/installed-sst
make
make install

Switch to using a git clone of sst's svn repository.
Switch to using a git clone of sst's svn repository.
