Read Steve Landers' paper [L1 ]. Assemble a starkit [L2 ] based on an example, or even your own application; "starkitting" is straightforward enough that people have been successful doing it for the first time even with applications which involve several auxiliary files, extensions (but only stubsified ones?), and so on.
Use sdx to make a starpack from this starkit.