Script for installing wxWidgets and wxHaskell

Compilation and installation is done in sandbox. Version of wxWidgets is
2.9.5 and wxHaskell is compiled and installed from Git repository
(version 0.90.1.0 commit 03950cac597c5f99442281f46e57e32e61bea328).

Haskell packages are installed using cabal-dev so either run this script
in top level directory of your Haskell package or manually specify
paths.

To compile separate Haskell source file you can also use this approach:

env PATH="$PATH:`pwd`/wxWidgets-install/bin:`pwd`/cabal-dev/bin" \
    LD_LIBRARY_PATH="`pwd`/wxWidgets-install/lib" \
    ghc -package-conf `pwd`/cabal-dev/packages-`ghc --numeric-version`.conf \
    example.hs

Then run it using:

LD_LIBRARY_PATH="`pwd`/wxWidgets-install/lib" ./example