aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git-crypt.rb
blob: dc4c550f9d3fb51ca486d72fcd0df3485b03c526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require 'formula'

class GitCrypt < Formula
  homepage 'https://www.agwa.name/projects/git-crypt/'
  url "https://www.agwa.name/projects/git-crypt/downloads/git-crypt-0.4.1.tar.gz"
  sha1 "b82aca26385ffd96432fa25fda7c4753874d917f"

  bottle do
    cellar :any
    sha1 "cf82899f5909b6f4fba7375f0ca14328f2b3d6af" => :yosemite
    sha1 "f15f0c82ad1114c2bdc676db25a0801c915eabdf" => :mavericks
    sha1 "0cbd44ee06d875c9784307cc8a45e593dbb5bdd7" => :mountain_lion
  end

  depends_on "openssl"

  def install
    system "make"
    bin.install "git-crypt"
  end

  test do
    system "#{bin}/git-crypt", "keygen", "keyfile"
  end
end