mxcl/homebrew — Issue #10122: question about formula for ice python install
Author: hawesie
Created: 2012-02-12 19:36:35+00:00
State: open

If this is not the right place to ask this, please point me at the right place.

I'm trying to add to the ice formula to optionally install the java and python libraries in addition to the cpp ones. I have 3 questions about this:

1. Is there an official homebrew preference about whether optional libraries like this should be installed as options (with, e.g. --java and --python) or as separate formulae (e.g. ice-java and ice-python)?

2. I'm having difficulty installing the python parts of the library. The standard `make install` happily installs to `/usr/local/Cellar/ice/3.4.1/python` but this isn't added to `/usr/local` anywhere. I've been playing with explicit install commands, but I don't actually know either the right place to install these files or the correct syntax to do it.

3. Similar to above, is there a policy about where to put jar files? At the moment I'm installing them under `/usr/local/lib` as this is what berkeley-db does (a dependency of ice), but it feels a bit wrong (I'm more used to `/usr/share/java`).

thanks,

Nick