#!/bin/bash

WHERE=http://www.riverbankcomputing.com/static/Downloads/sip4
PKG=sip-snapshot-4.10.1-637497440cb5

pushd ../SOURCES
if [ ! -f $PKG.tar.gz ]; then
    wget $WHERE/$PKG.tar.gz
fi
popd

pushd ../BUILD

rm -rf $PKG
tar xvfz ../SOURCES/$PKG.tar.gz
pushd $PKG
python configure.py -u
make
make install
popd # $PKG

rm -rf $PKG
tar xvfz ../SOURCES/$PKG.tar.gz
pushd $PKG
python3 configure.py -u
make
make install
popd # $PKG

popd # ../BUILD

# EOF
