aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Porter2009-09-01 10:33:33 +1000
committerMax Howell2009-09-01 11:50:39 +0100
commit8a62a76f3918b186a361944085ea0bd206d9b5c1 (patch)
tree8ea8a094a15bd3c090ac73a797fde3251831277c /Library/Formula
parent4fbf210d06539b5103ee929165db4a531ef42b1a (diff)
downloadhomebrew-8a62a76f3918b186a361944085ea0bd206d9b5c1.tar.bz2
GnuPG 1.4 formula
Doesn't build on 10.6 currently.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/gnupg.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/gnupg.rb b/Library/Formula/gnupg.rb
new file mode 100644
index 000000000..4bffe419a
--- /dev/null
+++ b/Library/Formula/gnupg.rb
@@ -0,0 +1,21 @@
+require 'brewkit'
+
+class Gnupg <Formula
+ @url='ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2'
+ @homepage='http://www.gnupg.org/'
+ @sha1='826f4bef1effce61c3799c8f7d3cc8313b340b55'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+
+ system "make"
+ system "make check"
+
+ # amazingly even the GNU folks can bugger up their Makefiles, so we need
+ # to create this directories because the install target has the dependency
+ # order wrong
+ bin.mkpath
+ (libexec+'gnupg').mkpath
+ system "make install"
+ end
+end