Ubuntu 8.04 and Codeblocks guide

Can someone make a guide for setting up Codeblocks to work with cuda like this guide for eclipse?

im really new and im pretty sure i have ubuntu 8.04-I386-Desktop setup right with cuda as all the examples compile fine :)

now im just testing out some IDE`s to see what i need to be in to start writing some code.
with that guide for eclipse i still had problems following it so if someone could make a real easy to install guide for codeblocks i would appreciate it and probably a few others too.