aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2014-12-29 10:59:18 +0800
committerMike McQuaid2014-12-29 07:48:51 +0000
commit6de5b01e3fefabc082115738721ef52c29d4ee26 (patch)
tree0a8137089563346557f2792781c0687a26506af4 /Library
parent34414122ed96619fc985a816fb51cf86b1f55fcb (diff)
downloadhomebrew-6de5b01e3fefabc082115738721ef52c29d4ee26.tar.bz2
flex: modernize
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/flex.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/flex.rb b/Library/Formula/flex.rb
index 052ce53b8..2eb6f096f 100644
--- a/Library/Formula/flex.rb
+++ b/Library/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
@@ -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