gflags 2.1.2
Update to latest stable release, change URLs to GitHub, use cmake, modernize formula. Closes Homebrew/homebrew#38245. Signed-off-by: Brett Koonce <koonce@gmail.com>
This commit is contained in:
parent
534b6eabe6
commit
d72a6d230f
1 changed files with 9 additions and 7 deletions
|
@ -1,12 +1,14 @@
|
|||
require 'formula'
|
||||
|
||||
class Gflags < Formula
|
||||
homepage 'http://code.google.com/p/google-gflags/'
|
||||
url 'https://gflags.googlecode.com/files/gflags-2.0.tar.gz'
|
||||
sha1 'dfb0add1b59433308749875ac42796c41e824908'
|
||||
homepage "https://gflags.github.io/gflags/"
|
||||
url "https://github.com/gflags/gflags/archive/v2.1.2.tar.gz"
|
||||
sha256 "d8331bd0f7367c8afd5fcb5f5e85e96868a00fd24b7276fa5fcee1e5575c2662"
|
||||
|
||||
depends_on "cmake" => :build
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
||||
system "make install"
|
||||
mkdir "buildroot" do
|
||||
system "cmake", "..", *std_cmake_args
|
||||
system "make", "install"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue