2014-07-29 00:09:10 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class SignifyOsx < Formula
|
|
|
|
homepage "http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/signify.1"
|
2015-02-17 01:44:28 +00:00
|
|
|
url "https://github.com/jpouellet/signify-osx/archive/1.2.tar.gz"
|
|
|
|
sha256 "ac6c0cffc098abe5ad6ec444ff2d6eaf5cc61c84cbedf4f5d65766454b5f34fd"
|
2014-07-29 00:09:10 +00:00
|
|
|
head "https://github.com/jpouellet/signify-osx.git"
|
|
|
|
|
2014-09-30 04:34:59 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-02-17 02:25:05 +00:00
|
|
|
sha1 "54e88a9c6e657d468dd4fcbcd0cb92e64b1c8823" => :yosemite
|
|
|
|
sha1 "8170c1a857d715ff3cc3945f503df12affb5a9f1" => :mavericks
|
|
|
|
sha1 "3d4cca64df2388c79b6060417be8550fbe661411" => :mountain_lion
|
2014-09-30 04:34:59 +00:00
|
|
|
end
|
|
|
|
|
2014-07-29 00:09:10 +00:00
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
system "make", "test"
|
|
|
|
system "make", "install", "PREFIX=#{prefix}"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/signify", "-G", "-n", "-p", "pubkey", "-s", "seckey"
|
|
|
|
end
|
|
|
|
end
|