Manual: explain "virtual?vpkg" runtime deps.

This commit is contained in:
Juan RP 2014-08-20 11:17:26 +02:00
parent dc78dfb42d
commit 9b37c7107b
1 changed files with 5 additions and 0 deletions

View File

@ -588,6 +588,11 @@ Dependencies declared via `${depends}` are not installed to the master directory
only checked if they exist as binary packages, and are built automatically by `xbps-src` if
the specified version is not in the local repository.
There's a special variant of how `virtual` dependencies can be specified as `runtime dependencies`
and is by using the `virtual` keyword, i.e `depends="virtual?vpkg-0.1_1"`. This declares
a `runtime` virtual dependency to `vpkg-0.1_1`; this `virtual` dependency will be simply ignored
when the package is being built with `xbps-src`.
### INSTALL and REMOVE files
The INSTALL and REMOVE shell snippets can be used to execute certain actions at a specified