view scripts/waaad-install.sh @ 0:9e5a3c884de6

Initial import of the virtual testbed.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Thu, 17 Jun 2010 11:00:32 +0900
parents
children
line wrap: on
line source

#!/bin/bash -x

# Install dependencies for waaad
aptitude install flex bison libsctp1 libsctp-dev libgnutls26 libgnutls-dev mercurial cmake

# Build waaad
rm -rf /root/waaad
mkdir /root/waaad
pushd /root/waaad
ln -sf /home/aaa/conf/`hostname --fqdn`/waaad/CMakeCache.txt
cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DDEFAULT_CONF_FILE:STRING=/home/aaa/conf/`hostname --fqdn`/waaad/waaad.conf /home/aaa/src/waaad
mv -f CMakeCache.txt /home/aaa/conf/`hostname --fqdn`/waaad/CMakeCache.txt
ln -sf /home/aaa/conf/`hostname --fqdn`/waaad/CMakeCache.txt
make
popd

"Welcome to our mercurial repository"