ea2151ac9e
Closes Homebrew/homebrew#33378. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
29 lines
783 B
Ruby
29 lines
783 B
Ruby
require "formula"
|
|
|
|
class Libgit2 < Formula
|
|
homepage "http://libgit2.github.com/"
|
|
url "https://github.com/libgit2/libgit2/archive/v0.21.1.tar.gz"
|
|
sha1 "8975eb3fa6999e30b1fa01a84b7b09d0a2672ac5"
|
|
|
|
head "https://github.com/libgit2/libgit2.git", :branch => "development"
|
|
|
|
bottle do
|
|
cellar :any
|
|
revision 1
|
|
sha1 "264ee00fbd0df428ac1de74ae7d74f98d8109066" => :yosemite
|
|
sha1 "809e858db9e378949989b23b045b527a34af3b12" => :mavericks
|
|
sha1 "d833de5afde015cf8905fbf070083023cc1d9201" => :mountain_lion
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
depends_on "libssh2" => :optional
|
|
|
|
def install
|
|
mkdir "build" do
|
|
system "cmake", "..",
|
|
"-DBUILD_TESTS=NO",
|
|
*std_cmake_args
|
|
system "make install"
|
|
end
|
|
end
|
|
end
|