Alex Wang 4cec6f5dd0 Teach brew to recognize gcc-HEAD as valid compiler
Building gcc with --HEAD results in most of the executables not having a
version suffix, e.g. Building/installing gcc 6 would result in gcc-6,
g++-6, etc. being installed, while building/installing gcc --HEAD would
result in gcc-, g++-, etc. being installed.

The lack of a version suffix prevented brew from recognizing a valid gcc
install, resulting in brew instructing users to install gcc before
building certain formulae even though gcc is installed.

A patch to the gcc formula makes the version number for --HEAD builds
the major version number of the stable version + 1 (7 at this time).
This patch teaches brew to recognize current --HEAD builds as valid
compilers.
2016-09-14 11:42:45 -04:00
..
2016-09-11 17:59:01 +01:00
2016-09-11 17:49:27 +01:00
2016-09-11 19:13:01 +01:00
2016-09-01 16:39:21 +01:00
2016-08-22 08:57:47 +02:00
2016-08-18 17:32:35 +01:00
2016-08-17 09:19:56 +01:00
2016-08-17 09:19:56 +01:00
2016-08-18 14:35:39 +08:00
2016-09-12 03:24:53 +01:00
2016-08-19 01:04:32 -04:00
2016-08-22 08:57:47 +02:00
2016-08-18 13:35:52 +08:00
2016-09-05 21:43:03 +02:00
2016-09-11 19:12:59 +01: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!