I would like to create two Formulas for a “plugin library”. One formula installs the library that other programs would use to access various plugins, and the other formula installs a set of multiple plugins.
Let’s call the library ‘foo’, and the second Formula ‘bar’. Then fooinstalls a filesystem tree of (in part):
Then the bar formula would install a filesystem tree like:
The problem is that bar cannot write to the foo prefix and foo will not find the bar files if it uses its own prefix. I suppose bar could make sym-links inside the bar plugins directory. Is that possible? Is there a better way to do this with homebrew?