Build older versions of Csound?

Hi!
I would, for various reasons, like to build a specific version of Csound5 for which I have a source code tarball, on a new-ish linux system.
The old version used the scons build system, and I have not been able to recreate all the required dependencies to build it on a recent Debian system.
Is there some clever way to achieve this?

Regards,
Anders