2012-11-12 01:35:09 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Flex < Formula
|
|
|
|
homepage 'http://flex.sourceforge.net'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/flex/flex-2.5.37.tar.bz2'
|
2012-11-12 01:35:09 +00:00
|
|
|
sha1 'db4b140f2aff34c6197cab919828cc4146aae218'
|
|
|
|
|
2014-06-09 16:05:56 +00:00
|
|
|
bottle do
|
2014-10-22 01:39:08 +00:00
|
|
|
revision 1
|
|
|
|
sha1 "0a2bb0ce9a49330e5fd40b6e409a353972cf8840" => :yosemite
|
|
|
|
sha1 "0dd7fc9c36a6258b2e456e7dd0c5818d07e2a2ea" => :mavericks
|
|
|
|
sha1 "69b5f449a9c0bf5fd37f999dca5ccfd120a6f389" => :mountain_lion
|
2014-06-09 16:05:56 +00:00
|
|
|
end
|
|
|
|
|
2013-01-26 13:16:55 +00:00
|
|
|
keg_only :provided_by_osx, 'Some formulae require a newer version of flex.'
|
2012-11-12 01:35:09 +00:00
|
|
|
|
|
|
|
depends_on 'gettext'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system 'make install'
|
|
|
|
end
|
|
|
|
end
|