How do you create a .XPI package on a mac
XPI files are just ZIP-files that have been renamed with extension xpi. You can just use the file compression available through the Finder UI or use commands in terminal or automate process using makefiles or similar.