I have the C source code to a little ips program called 'universal ips', it compiles and works on Linux, so it should proably work on OS X as well. I'll see if I can dig up a link.
Edit:
Found it. They even have a precompiled OS X binary someone contributed. Enjoy.