I meant headphone jack, fml
Ah, that makes more sense. In that case, the simplest thing to try is just to replace the speaker with a 1/8" jack (one wire to ground, one wire to tip/ring). If you're lucky that will work straight away; if you're not, try doing a search, the topic of replacing a speaker with a headphone jack has come up a bunch of times.
-Colin