Added <executable-in-path> and <executable-in-var> bindings
commit94497331153bca2bc5ac4597618903299d213a99
authorThomas Leonard <talex5@gmail.com>
Sat, 9 Jul 2011 19:44:48 +0000 (9 20:44 +0100)
committerThomas Leonard <talex5@gmail.com>
Sat, 9 Jul 2011 19:44:50 +0000 (9 20:44 +0100)
treea9853d7dc8ad253a5f86767876e47b84d3694ce0
parent2205eeb0acd81662bf9439aba8fcecf3fbf0b5f8
parent03e2e572a7617e0929e7fe7da8171a03595c9607
Added <executable-in-path> and <executable-in-var> bindings

These can be used to make a command from a dependency available, either
as a command in $PATH or as a command stored in an environment variable.

For example, if a program requires the "make" command in $PATH:

<requires interface='http://repo.roscidus.com/devel/make'>
  <executable-in-path name='make'/>
</requires>

Or, if it requires the make command in $MAKE:

<requires interface='http://repo.roscidus.com/devel/make'>
  <executable-in-var name='MAKE'/>
</requires>

Note: this required a slight change to the selections XML format.