660bb962a6
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>
17 lines
457 B
Ruby
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
|