homebrew-core/Formula/gpgme.rb
Cameron Walters 596d8ac277 GPGME depends on gnupg.
GnuPG needs to be built before GPGME to prevent an error
in the Ruby gpgme gem:

  ArgumentError (released ctx):
    gpgme (1.0.8) lib/gpgme.rb:967:in `gpgme_set_armor'
    gpgme (1.0.8) lib/gpgme.rb:967:in `armor='

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-15 12:50:50 -07:00

18 lines
471 B
Ruby

require 'formula'
class Gpgme < Formula
url 'ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-1.1.8.tar.bz2'
homepage 'http://www.gnupg.org'
sha1 'e56da614f3e6acc1cb51af767c77f4a95b05b1e8'
depends_on 'gnupg'
depends_on 'libgpg-error'
def install
ENV.gcc_4_2
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-asm"
system "make install"
end
end