Skip to content

Commit

Permalink
libgit2 0.23.2
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#44396.

Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
  • Loading branch information
DomT4 committed Sep 28, 2015
1 parent 6e81d31 commit 0c11df8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Formula/libgit2.rb
@@ -1,8 +1,8 @@
class Libgit2 < Formula
desc "C library of Git core methods that is re-entrant and linkable"
homepage "https://libgit2.github.com/"
url "https://github.com/libgit2/libgit2/archive/v0.23.0.tar.gz"
sha256 "49d75c601eb619481ecc0a79f3356cc26b89dfa646f2268e434d7b4c8d90c8a1"
url "https://github.com/libgit2/libgit2/archive/v0.23.2.tar.gz"
sha256 "20c0a6ee92c0e19207dac6ddc336b4ae4a1c4ddf91be0891e4b6e6ccba16df0b"
head "https://github.com/libgit2/libgit2.git"

bottle do
Expand All @@ -15,13 +15,15 @@ class Libgit2 < Formula

option :universal

depends_on "pkg-config" => :build
depends_on "cmake" => :build
depends_on "libssh2" => :optional
depends_on "openssl"
depends_on "openssl" if MacOS.version <= :lion # Uses SecureTransport on >10.7

def install
args = std_cmake_args
args << "-DBUILD_CLAR=NO" # Don't build tests.
args << "-DUSE_SSH=NO" if build.without? "libssh2"

if build.universal?
ENV.universal_binary
Expand Down

0 comments on commit 0c11df8

Please sign in to comment.