aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorYaw Anokwa2014-03-30 13:04:41 -0700
committerMike McQuaid2014-03-31 10:43:24 -0500
commita507bb29ed46cec31e97636ba2e392844b69aa7a (patch)
tree0add2ed00c411befe29f3013d89d563b70e82d6a /Library
parentda3e8b5a0f356ffe7ef4722744fbaa573a7094ef (diff)
downloadhomebrew-a507bb29ed46cec31e97636ba2e392844b69aa7a.tar.bz2
sf-pwgen 1.2 (new formula)
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sf-pwgen.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/sf-pwgen.rb b/Library/Formula/sf-pwgen.rb
new file mode 100644
index 000000000..5c62fe9aa
--- /dev/null
+++ b/Library/Formula/sf-pwgen.rb
@@ -0,0 +1,18 @@
+require "formula"
+
+class SfPwgen < Formula
+ homepage "https://bitbucket.org/anders/sf-pwgen/"
+ url "https://bitbucket.org/anders/sf-pwgen/downloads/sf-pwgen-1.2.tar.gz"
+ sha1 "7e8bc5e6c4f75ea9fbd904198a188264ff05837c"
+
+ depends_on :macos => :mountain_lion
+
+ def install
+ system "make"
+ bin.install "sf-pwgen"
+ end
+
+ test do
+ system "#{bin}/sf-pwgen", "-a", "memorable", "-c", "10", "-l", "20"
+ end
+end