If you asked a thousand different UNIX System Administrators how to do something you could get a thousand different answers and each one of them would be correct.
That's the single biggest problem with UNIX.
Rather than reinventing the wheel yet again I'll simply list a couple of different links that you can use for help on package creation.
The first one is the short method and the second link will take you to Sun's documentation on package creation.
Next Section: Static Libraries Versus Dynamic Libraries (10 of 11)