How do I create a package?

See Creating packages.