# Note: depends on git
# Note: depends on libusb
# Note: depends on qtbase
git clone git://github.com/Benjamin-Dobell/Heimdall.git heimdall
cd heimdall
git checkout b6fe7f8535355eb8025f4872efef6cd7d3993db6 # Known good revision
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" ..
make # Doesn't mind -j#
install bin/* /usr/bin