This is a single binary application. Dependencies can be installed in this directory as prefix, instead of system wide. Afterwards:
make
./out/replay_viewer [replay_file]
The mpq files must be available in the "current directory", so you can run the replay_viewer in your game folder or copy the relevant files over