Kaito Udagawa 00b18c3587 osxfuse_requirement: add library and include paths
In the installation whose prefix is other than /usr/local,
osxfuse library and include path must explicitly be specified during build.
Although brew's pkg-config is configured to prepend appropriates paths,
the prepended paths (/usr/local) supercede the original HOMEBREW_PREFIX.
This behavior will cause the linker to select libraries outside brew's tree.

By adding /usr/local to HOMEBREW_LIBRARY_PATHS, superenv ensures that appears
only after the HOMEBREW_PREFIX, and thus fixes this problem.

HOMEBREW_INCLUDE_PATHS is also configured like keg-only Formulae.
2016-11-22 23:52:26 +09:00
..
2016-10-04 22:57:08 -07:00
2016-11-21 08:48:26 +00:00
2016-10-23 14:44:14 +02:00
2016-11-10 15:01:29 +01:00
2016-10-30 16:14:51 -04:00
2016-11-13 23:00:47 +01:00
2016-11-14 09:45:44 +01:00
2016-11-13 23:20:38 +00:00
2016-10-22 13:32:46 +01:00
2016-11-03 12:09:44 +00:00
2016-10-12 15:37:33 +01:00
2016-11-13 23:00:47 +01:00
2016-11-10 15:09:36 -08:00

Homebrew's Formula API

This is the (partially) documented public API for Homebrew.

The main class you should look at is the {Formula} class (and classes linked from there). That's the class that's used to create Homebrew formulae (i.e. package descriptions). Assume anything else you stumble upon is private.

You may also find the Formula Cookbook and Ruby Style Guide helpful in creating formulae.

Good luck!