Download the latest Optiboot zip file and extract it. You will need to be using a recent version of the Arduino environment, version 18 or later. Create a 'hardware' directory inside your sketches folder. Copy the optiboot directory into the hardware directory. Restart the Arduino software. New boards will appear in the Tools > Board menu.