aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorelm2013-02-27 17:24:14 +0100
committerJack Nagel2013-03-07 17:03:57 -0600
commit4011a816e109641d2bdc34c315530e0e2b31d585 (patch)
tree42ae96f18db9359224000456ab82fe5c68e8367e /Library/Formula
parent7b1c4e9813a355f1e9e6e078020d2540e674acae (diff)
downloadhomebrew-4011a816e109641d2bdc34c315530e0e2b31d585.tar.bz2
New formula: pgpdump
Closes #18116. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pgpdump.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/pgpdump.rb b/Library/Formula/pgpdump.rb
new file mode 100644
index 000000000..412c13153
--- /dev/null
+++ b/Library/Formula/pgpdump.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Pgpdump < Formula
+ homepage 'http://www.mew.org/~kazu/proj/pgpdump/en/'
+ url 'http://www.mew.org/~kazu/proj/pgpdump/pgpdump-0.27.tar.gz'
+ sha1 'dedfc75482503a335b67750f6fb2eb215448a413'
+
+ def install
+ system "./configure", "--prefix=#{prefix}"
+ bin.mkpath
+ man1.mkpath
+ system "make install"
+ end
+
+ test do
+ system "#{bin}/pgpdump", "-v"
+ end
+end