Skip to content

Commit

Permalink
flex: modernize
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng authored and MikeMcQuaid committed Dec 29, 2014
1 parent 3f5c921 commit 395358b
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions Formula/flex.rb
@@ -1,9 +1,7 @@
require 'formula'

class Flex < Formula
homepage 'http://flex.sourceforge.net'
url 'https://downloads.sourceforge.net/flex/flex-2.5.37.tar.bz2'
sha1 'db4b140f2aff34c6197cab919828cc4146aae218'
homepage "http://flex.sourceforge.net"
url "https://downloads.sourceforge.net/flex/flex-2.5.37.tar.bz2"
sha1 "db4b140f2aff34c6197cab919828cc4146aae218"

bottle do
revision 1
Expand All @@ -12,13 +10,13 @@ class Flex < Formula
sha1 "69b5f449a9c0bf5fd37f999dca5ccfd120a6f389" => :mountain_lion
end

keg_only :provided_by_osx, 'Some formulae require a newer version of flex.'
keg_only :provided_by_osx, "Some formulae require a newer version of flex."

depends_on 'gettext'
depends_on "gettext"

def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system 'make install'
system "make", "install"
end
end

0 comments on commit 395358b

Please sign in to comment.