Don't use the mic input as you won't get a very good result (if at all).
You'll need a lead consisting of a pair of phono connectors at one end and a stereo mini jack at the other. The phono plugs connect to the output (L & R) of the recorder, and the mini-jack connects to the line-in connector on the sound card.
You may need to experiment with setting the recording level on the sound card to ensure that you have enough volume, without getting so much that the signal distorts.
And that's it. Even the most basic soundcard has some editing capability so that you should be able to edit out any mistakes or silences before saving the file back to a cd.
Best of luck!