Guidance in building an compiling a new addon

I am looking for some help here. I would like to compile tsduck to be used on wetek play 2.

I wouldn’t know where to begin to make it compatible some reading material or guidance required please.

Thanks