#!/bin/bash
# Silly script to setup the development pre-requisites for
# building PasswordSafe on Debian-based distros.
# Meant to be run as root or sudo'd
# Much room for improvement, error checking, reporting stuff, etc.
# Running this after cloning the git repo (or unpacking the sources)
# and you should be all set.

apt-get install cmake fakeroot g++ gettext git libgtest-dev \
	libqrencode-dev libuuid1 libwxgtk3.0-dev libxerces-c-dev \
	libxt-dev libxtst-dev libykpers-1-dev libyubikey-dev make \
	pkg-config uuid-dev zip

cd /usr/src/gtest
mkdir build
cd build
cmake ..
make
