Commit graph

6 commits

Author SHA1 Message Date
Misty De Meo
2f03f781da Add devel to the DSL, + stable and bottle blocks
This commit adds a `devel` entry to the DSL, allowing formulae to
specify an unstable branch.

`devel` takes a block, which should contain standard `url` and `md5`
fields (and `version`, if necessary). This must come after the standard
DSL fields.

This commit also migrates over all formulae currently using `devel` to
the new syntax, as well as formulae which used `head` for non-VCS urls.

The new syntax is also available for `stable` and `bottle`. `stable` is
an option alongside the old syntax. `bottle` replaces the old syntax.

Note that the @stable ivar in Formula has been renamed to @standard,
and the @bottle ivar has been renamed to @bottle_url.

Closes Homebrew/homebrew#9735.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-25 21:45:19 -06:00
Jack Nagel
491ef46cea Define and use ARGV.build_devel?
Often it is useful to provide a development build in addition to the
stable release or HEAD download.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-21 20:04:33 -08:00
Misty De Meo
893cbdc760 fox: use 1.6 branch by default
fox was using the 1.7 unstable branch by default, which appears to be
less widely used and certainly isn't supported by fxruby. It now uses
the stable branch by default, and makes the unstable branch available as
an option with --devel. Also bump the version for 1.7.

Fixes Homebrew/homebrew#8577.
Closes Homebrew/homebrew#8583.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-14 14:06:28 -08:00
Christian Inzinger
57bda020c0 fox 1.7.26
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-28 09:08:56 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Lyle Johnson
4a702ccfac Added formula for fox-1.7.23
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-06 22:04:45 -07:00