set -e -x

CPUS=$(grep -c ^processor /proc/cpuinfo)

tar xfv postgresql/postgresql-*.tar.gz
cd postgresql-*
./configure --prefix=${BOSH_INSTALL_TARGET}
make -j${CPUS} && make install
