Toolwrap is a wrapper tool (a program which starts other program), which may be used to launch applications according to defined preferences (or policies).
Thanks to toolwrap, many releases of a given application can coexist, and may be deployed on a single workstation or made available on a files server. Policy files allow different users to use different versions transparently.
Environment files control which binaries to use and prepare the environment before starting the application.
Compiling toolwrap should be as simple as :
./configure --prefix=/opt &&
If toolwrap compiles successfully, run make install to get the following tree & files created (assuming that /opt was specified at the "configure" step):
/opt/bin/toolwrap is the wrapper itself. Wrapped binaries will be symlinked to toolwrap.
/opt/etc/toolwrap-policies holds the default wrapping policies. See policy. Policies indicate which package must be used when a tool is invoked.
/opt/etc/env/__default__ defines how the environment must be set up before starting a tool, and which binary is executed.