Can you not use ImageMagick's convert command to convert the .pdf to, say, png format?
Then add the scanned image of the signature with gimp, or ImageMagick if you're feeling masochistic and don't like guis, and output the composite as .pdf, or whatever format grabs your fancy.
Cheers,
Peter