It all depends on the urgency of your problem and whether the users can give a suitable answer.
You are basically asking for a tool to convert a program from Windows to Linux platform - as you can imagine it is not the easiest task.
What one could do is have a list of PN functions and their corresponding XOOPS function/class.