How to install optional package directly from zip file?

I have some zip files I’d like to install which are already pre-configured as optional packages (found them from other places on the web). The installoptionalpackage script goes to a specific website and does the necessary installation.

Is there another script available which takes a pre-configured optional package zip file (e.g., located in my /boot/home directory) as an argument and installs it?

Thanks.

Hi steveh2009!

The “magic” of installoptionalpackage is to download the package that fits your Haiku revision, i.e. version and compiler version (gcc2/gcc4). Then it just expands them in /boot/. If you already have the (correct) package, you can do that last part yourself.

Regards,
Humdinger