aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gflags.rb17
1 files changed, 4 insertions, 13 deletions
diff --git a/Library/Formula/gflags.rb b/Library/Formula/gflags.rb
index 9f542566f..83e98174d 100644
--- a/Library/Formula/gflags.rb
+++ b/Library/Formula/gflags.rb
@@ -1,21 +1,12 @@
require 'formula'
class Gflags < Formula
- homepage "http://code.google.com/p/google-gflags/"
- url "https://github.com/schuhschuh/gflags/archive/v2.1.1.tar.gz"
- sha1 "59b37548b10daeaa87a3093a11d13c2442ac6849"
-
- bottle do
- cellar :any
- sha1 "a505e4743158a4336b2f4794e724b1f213309aa1" => :yosemite
- sha1 "c7c39cddb08e025e988c2529e60c5641c9d8eef6" => :mavericks
- sha1 "d160e728b0c3cf29cb7ed23afe2f20d38deeef57" => :mountain_lion
- end
-
- depends_on "cmake" => :build
+ homepage 'http://code.google.com/p/google-gflags/'
+ url 'https://gflags.googlecode.com/files/gflags-2.0.tar.gz'
+ sha1 'dfb0add1b59433308749875ac42796c41e824908'
def install
- system "cmake", ".", *std_cmake_args
+ system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end