rpm: added individual override variables for opensync building
commit880f8096ae1b2b0ac31d937748cd19276b3bf4fa
authorChris Frey <cdfrey@foursquare.net>
Thu, 7 Jul 2011 03:13:41 +0000 (6 23:13 -0400)
committerChris Frey <cdfrey@foursquare.net>
Thu, 7 Jul 2011 03:13:41 +0000 (6 23:13 -0400)
tree796b1b55bf049b4dae92faf38d5dea583000370b
parentb9cb6980cc8768d32a9b49b1b448f54aecd99ee9
rpm: added individual override variables for opensync building

If you set ADD_TO_PKG_CONFIG_PATH, it will be prepended to
PKG_CONFIG_PATH before building anything.

If you set OSYNC4X_PKG_CONFIG_PATH, it will be prepended to
the original PKG_CONFIG_PATH before building the 0.4x plugin.

Same for OSYNC2X_PKG_CONFIG_PATH with the 0.2x plugin.

And set OSYNCBOTH_PKG_CONFIG_PATH for building the desktop.

If you set any of the OSYNC* variables, set them all, since they
are all all set in order, and override each other.  If you don't
set them all, 0.2x settings will be used for the 0.4x plugin, etc.

In other words, if you have one setting for the whole build, use
ADD_TO_PKG_CONFIG_PATH.  If you need individual settings for the
opensync plugins and desktop, use *all* of the OSYNC* variables.
It is safe to use both ADD* and OSYNC* variables.  ADD is used
first, then the OSYNC variables as needed.

If you need help, see the barry.spec file for the simple logic.
rpm/barry.spec