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>
This commit is contained in:
Misty De Meo 2011-11-14 14:10:34 -06:00 committed by Charlie Sharpsteen
parent 5d2d7f12ae
commit 893cbdc760

View file

@ -1,9 +1,17 @@
require 'formula'
class Fox < Formula
url 'http://ftp.fox-toolkit.org/pub/fox-1.7.26.tar.gz'
# Development and stable branches are incompatible
if ARGV.include? '--devel'
url 'http://ftp.fox-toolkit.org/pub/fox-1.7.30.tar.gz'
md5 '345df53f1e652bc99d1348444b4e3016'
else
url 'ftp://ftp.fox-toolkit.org/pub/fox-1.6.44.tar.gz'
md5 '6ccc8cbcfa6e4c8b6e4deeeb39c36434'
end
homepage 'http://www.fox-toolkit.org/'
md5 'acaf8a1f33d02265b26a2b0c3fd06625'
fails_with_llvm "Inline asm errors during build" if ARGV.include? '--devel'
def install
ENV.x11