2013-02-07 01:14:13 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class GitCrypt < Formula
|
2014-11-17 03:49:32 +00:00
|
|
|
homepage 'https://www.agwa.name/projects/git-crypt/'
|
2015-02-01 04:26:22 +00:00
|
|
|
url "https://www.agwa.name/projects/git-crypt/downloads/git-crypt-0.4.2.tar.gz"
|
|
|
|
sha1 "c084d73d285ed2c7b9840d4d527cb51ecc7a687b"
|
2014-11-17 03:49:32 +00:00
|
|
|
|
2014-11-17 16:36:09 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-02-01 06:04:37 +00:00
|
|
|
sha1 "f06679b30da507716f4db5fe06c8251e3702d5a7" => :yosemite
|
|
|
|
sha1 "bbe990ecebdefe37de0a46e4ad9f869e39a8076e" => :mavericks
|
|
|
|
sha1 "325e8630865b13f9d319d33777053921838d16e7" => :mountain_lion
|
2014-11-17 16:36:09 +00:00
|
|
|
end
|
|
|
|
|
2014-11-17 03:49:32 +00:00
|
|
|
depends_on "openssl"
|
2013-02-07 01:14:13 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "git-crypt"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2014-11-17 03:49:32 +00:00
|
|
|
system "#{bin}/git-crypt", "keygen", "keyfile"
|
2013-02-07 01:14:13 +00:00
|
|
|
end
|
|
|
|
end
|