ocaml/opam — pull request #967 by lefessan (2013-10-28 12:48:12+00:00)
Title: Add more variables to be used during compilation

For compilers:
* %{COMPILER}% : the name of the compiler (not the switch)

For packages:
* %{COMPILER}% : the name of the compiler (not the switch)
* %{PACKAGE}% : the name of the package being compiled
* %{VERSION}% : the version of the package being compiled
* %{HASH}% : if a source archive is available, the digest of that archive
* %{DEPENDS}% : the comma-separated list of this package dependencies

Also add a '.' in front of temp files (stdout, stderr, etc.) to make them invisible to build tools.