magictree: Add packaging code.

We can't distribute this program without explicit permission from the
company.