Purpose: define the steps for one to take to create their first starpack.
You can even use your own application for the initial time through; "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.
I'll break this down a slightly different way:
1. Install tclkit and sdx so they're available in your PATH. 1. Put sdx.kit in your working directory.
package require Tk pack [button .b -text "That's all for now" -command exit]
tclkit sdx.kit qwrap example.tcl Now you have an example.kit Starkit (and, if you did this on a [Windows] host, an example.bat). That's the Starkit.
tclkit sdx.kit unwrap example.kit
Keep in mind that Starpacks look "native"; they are platform- specific. If you're working on Windows, and you're making a Starpack for Windows, just copy tclkit.exe into your local, working directory, at least for this demonstration.
sdx wrap example.exe -runtime tclkit.exe
How should your application look so that it makes a good starpack? "Starting effective starkit-based pure-Tcl development: the starkit::* namespace" addresses that question.