aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/gnupg.rb4
-rw-r--r--Library/Formula/gnutls.rb16
-rw-r--r--Library/Formula/libgcrypt.rb17
-rw-r--r--Library/Formula/libgpg-error.rb13
4 files changed, 48 insertions, 2 deletions
diff --git a/Library/Formula/gnupg.rb b/Library/Formula/gnupg.rb
index 4bffe419a..ac0af07a2 100644
--- a/Library/Formula/gnupg.rb
+++ b/Library/Formula/gnupg.rb
@@ -12,8 +12,8 @@ class Gnupg <Formula
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
+ # to create these directories because the install target has the
+ # dependency order wrong
bin.mkpath
(libexec+'gnupg').mkpath
system "make install"
diff --git a/Library/Formula/gnutls.rb b/Library/Formula/gnutls.rb
new file mode 100644
index 000000000..598c55524
--- /dev/null
+++ b/Library/Formula/gnutls.rb
@@ -0,0 +1,16 @@
+require 'brewkit'
+
+class Gnutls <Formula
+ @url='http://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.8.3.tar.bz2'
+ @homepage='http://www.gnu.org/software/gnutls/gnutls.html'
+ @sha1='c25fb354258777f9ee34b79b08eb87c024cada75'
+
+ def deps
+ 'libgcrypt'
+ end
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end
diff --git a/Library/Formula/libgcrypt.rb b/Library/Formula/libgcrypt.rb
new file mode 100644
index 000000000..ebf39f641
--- /dev/null
+++ b/Library/Formula/libgcrypt.rb
@@ -0,0 +1,17 @@
+require 'brewkit'
+
+class Libgcrypt <Formula
+ @url='ftp://ftp.gnupg.org//gcrypt/libgcrypt/libgcrypt-1.4.4.tar.bz2'
+ @homepage='http://www.gnupg.org/'
+ @sha1='3987f0efcbb7048c136d5c859e88eee1763a14f6'
+
+ def deps
+ 'libgpg-error'
+ end
+
+ def install
+ ENV.j1
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--disable-asm"
+ system "make install"
+ end
+end
diff --git a/Library/Formula/libgpg-error.rb b/Library/Formula/libgpg-error.rb
new file mode 100644
index 000000000..d9eb1653c
--- /dev/null
+++ b/Library/Formula/libgpg-error.rb
@@ -0,0 +1,13 @@
+require 'brewkit'
+
+class LibgpgError <Formula
+ @url='ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.7.tar.bz2'
+ @homepage='http://www.gnupg.org/'
+ @sha1='bf8c6babe1e28cae7dd6374ca24ddcc42d57e902'
+
+ def install
+ ENV.j1
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end