> In the code snippet $^O is the file being "installed"? - and it is all > written perl?
Just the OS. I think we do this between make and make install in our scripts that drive the build. If I ever have to revisit, I'll probably "make install DESTDIR=xxx" individually and not treat expat and apr/apu as bundled.