diff options
| author | Jack Nagel | 2011-12-17 13:43:13 -0600 |
|---|---|---|
| committer | Jack Nagel | 2011-12-17 17:12:15 -0600 |
| commit | be8c650cbb8b7973a91e4ab1c466a52478d63a69 (patch) | |
| tree | 22057eae2b6df9896a1c0118d33279ba4d529737 /Library/Formula | |
| parent | a612b4fc9d9065cd72474b5e1e6577c85e81c443 (diff) | |
| download | homebrew-be8c650cbb8b7973a91e4ab1c466a52478d63a69.tar.bz2 | |
gpg-agent 2.0.18
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gpg-agent.rb | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/Library/Formula/gpg-agent.rb b/Library/Formula/gpg-agent.rb index 1b9e75b4f..f08fe39fc 100644 --- a/Library/Formula/gpg-agent.rb +++ b/Library/Formula/gpg-agent.rb @@ -1,9 +1,9 @@ require 'formula' class GpgAgent < Formula - url 'ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.17.tar.bz2' + url 'ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.18.tar.bz2' homepage 'http://www.gnupg.org/' - sha1 '41ef5460417ca0a1131fc730849fe3afd49ad2de' + sha1 '5ec2f718760cc3121970a140aeea004b64545c46' depends_on 'libgpg-error' depends_on 'libgcrypt' @@ -12,10 +12,34 @@ class GpgAgent < Formula depends_on 'pth' depends_on 'pinentry' + def patches + DATA # fix package name to avoid conflicts + end + def install + # so we don't use Clang's internal stdint.h + ENV['gl_cv_absolute_stdint_h'] = '/usr/include/stdint.h' + system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking", "--enable-agent-only" system "make install" end end + +__END__ +diff --git a/configure b/configure +index 3df3900..b102aec 100755 +--- a/configure ++++ b/configure +@@ -558,8 +558,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.18' + PACKAGE_STRING='gnupg 2.0.18' + PACKAGE_BUGREPORT='http://bugs.gnupg.org' |
