homebrew-core/Formula/gpg-agent.rb
BrewTestBot 24e4bbd21d gpg-agent: update 2.0.26 bottle.
Closes Homebrew/homebrew#31564.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-08-13 11:26:25 +01:00

54 lines
1.6 KiB
Ruby

require "formula"
class GpgAgent < Formula
homepage "https://www.gnupg.org/"
url "ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2"
mirror "ftp://ftp.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.26.tar.bz2"
sha1 "3ff5b38152c919724fd09cf2f17df704272ba192"
bottle do
sha1 "e2519e73af7277fbc0946227208ae7f75f7292ed" => :mavericks
sha1 "59b3713d207a9e699be2f201f7d3b53fbe77f1d1" => :mountain_lion
sha1 "487da82c42d2ceb4bbcd5cde4101f8a86a37886c" => :lion
end
depends_on "libgpg-error"
depends_on "libgcrypt"
depends_on "libksba"
depends_on "libassuan"
depends_on "pth"
depends_on "pinentry"
# Adjust package name to fit our scheme of packaging both
# gnupg 1.x and 2.x, and gpg-agent separately
patch :DATA
def install
# don't use Clang's internal stdint.h
ENV["gl_cv_absolute_stdint_h"] = "#{MacOS.sdk_path}/usr/include/stdint.h"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-agent-only",
"--with-pinentry-pgm=#{Formula["pinentry"].opt_bin}/pinentry",
"--with-scdaemon-pgm=#{Formula["gnupg2"].opt_libexec}/scdaemon"
system "make install"
end
end
__END__
diff --git a/configure b/configure
index c022805..96ea7ed 100755
--- a/configure
+++ b/configure
@@ -578,8 +578,8 @@ MFLAGS=
MAKEFLAGS=
# Identity of this package.
-PACKAGE_NAME='gnupg'
-PACKAGE_TARNAME='gnupg'
+PACKAGE_NAME='gpg-agent'
+PACKAGE_TARNAME='gpg-agent'
PACKAGE_VERSION='2.0.26'
PACKAGE_STRING='gnupg 2.0.26'
PACKAGE_BUGREPORT='http://bugs.gnupg.org'