diff options
| author | Corey Quinn | 2013-03-13 11:06:09 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-15 22:10:40 -0700 |
| commit | 5a12add7b306b0319ad490b1e79724f238d206d2 (patch) | |
| tree | a50491d16d55a3e99d96b3f64d299a9fb56da4b5 /Library | |
| parent | 46a18a539ab31fb3d1ffccc1fea684d9eab149df (diff) | |
| download | homebrew-5a12add7b306b0319ad490b1e79724f238d206d2.tar.bz2 | |
pius 2.0.9
Closes #18463.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pius.rb | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Library/Formula/pius.rb b/Library/Formula/pius.rb new file mode 100644 index 000000000..cd57da965 --- /dev/null +++ b/Library/Formula/pius.rb @@ -0,0 +1,32 @@ +require 'formula' +class GnupgInstalled < Requirement + fatal true + + satisfy { which('gpg') || which('gpg2') } + + def message; <<-EOS.undent + Gnupg is required to use these tools. + + You can install Gnupg or Gnupg2 with Homebrew: + brew install gnupg + brew install gnupg2 + + Or you can use one of several different + prepackaged installers that are available. + EOS + end +end + +class Pius < Formula + homepage 'http://www.phildev.net/pius/' + url 'http://downloads.sourceforge.net/project/pgpius/pius/2.0.9/pius-2.0.9.tar.bz2' + sha1 'c8ecdf74b3f704a29f828fdbe0575eb247e21524' + + depends_on GnupgInstalled + + def install + bin.install 'pius' + bin.install 'pius-keyring-mgr' + bin.install 'pius-party-worksheet' + end +end |
