In Gentoo Linux the
Code::Blocks is available as
dev-util/codeblocks package where build of application from upstream code is available as
codeblocks-9999 package version.
Such package versions are unstable and therefore
should be initially unmased before trying to build and install.
The previous revision could be built with the aid of
portage/ebuild helper
ESVN_REVISION user variable (from
subversion.eclass). I.e. to build revision
13485 the following command could be used after package version unmasking:
ESVN_REVISION=13485 emerge -1av =dev-util/codeblocks-9999
Unfortunately I don't know how to automatically download the SVN revision tarballs from Sourceforge so upstream versions aren't available in Gentoo in offline systems.