The extra long exposure feature appears to be implemented on this camera, so you should be able to use these exposures using the normal CHDK override process, or from script.
Edit: This goes up to ~2000 seconds, although not all cameras operate correctly with the really long overrides. A few minutes should be fine.