blob: 6cf92b9857ae2d1a0638c93c53e7a04353f22769 (
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.tar.gz'
  sha1 '18cffadc905d69e221e6f2d4ec92b013413596f3'
  bottle do
    cellar :any
    sha1 "b9815f5095538a2cb15a468a386e3489da1171f5" => :yosemite
    sha1 "0e144374d72709fe3288a693638c1b3a5e3b1a14" => :mavericks
    sha1 "84acf8b81ad75945aa0ee529ddfe4c1674efabd9" => :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
  |