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'
|
|
|
|
|
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
|