homebrew-core/Formula/flex.rb
nibbles 2bits 660bb962a6 flex 2.5.37
Flex is provided by Apple, but some formula need a less broken
version than that one, especially Lion when building lilypond.
So let's add flex from sourceforge as a keg_only brew.

Closes Homebrew/homebrew#15986.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-18 15:10:53 -08:00

17 lines
457 B
Ruby

require 'formula'
class Flex < Formula
homepage 'http://flex.sourceforge.net'
url 'http://downloads.sourceforge.net/flex/flex-2.5.37.tar.bz2'
sha1 'db4b140f2aff34c6197cab919828cc4146aae218'
keg_only :provided_by_osx, 'Some formulas require a newer version of flex.'
depends_on 'gettext'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system 'make install'
end
end