This gist shows a simple Makefile that you could include with your addon code to help users download and install the Mozilla addon SDK effortlessly.
To install the addon SDK, just type make
in the directory holding this Makefile.
It downloads the addon from Mozilla.org ftp site, unpacks it, copies the content to the standard program directories (/usr/local/lib) and finally creates a link in the binary folder (/usr/bin/).
From then on, the command cfx will be available to a user from the terminal.Get more information on the SDK here.
- wget
- make (of course!)