Hmm can't do it, I added 
  inreplace 'configure.ac', 'gee-1.0', 'gee-0.8'
before def install

But got :
/usr/local/Library/Formula/submarine.rb:22
/usr/local/Library/Homebrew/formulary.rb:40:in `require'
/usr/local/Library/Homebrew/formulary.rb:40:in `klass'
/usr/local/Library/Homebrew/formulary.rb:90:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:175:in `factory'
/usr/local/Library/Homebrew/formula.rb:444:in `factory'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `map'
/usr/local/Library/Homebrew/extend/ARGV.rb:12:in `formulae'
/usr/local/Library/Homebrew/cmd/install.rb:30:in `install'
/usr/local/Library/brew.rb:91:in `send'
/usr/local/Library/brew.rb:91

By the way, I have to fixe the tar.gz file location and sha1 which were wrong, I'll push it.