aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2014-11-09 04:05:38 +0000
committerMike McQuaid2014-11-09 16:12:57 +0000
commit11a31fb47bfa5849279a30ec8a278b2b414a1de3 (patch)
treea91defdc32774fcbdf499618727273cfdf791e58
parent9fcf856b8eb1717950a6bb5373b65527eeb1dc0b (diff)
downloadhomebrew-11a31fb47bfa5849279a30ec8a278b2b414a1de3.tar.bz2
pinentry 0.9.0
Version bump, removes unrecognised configure options, and adds a test. Closes #34033. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/pinentry.rb19
1 files changed, 10 insertions, 9 deletions
diff --git a/Library/Formula/pinentry.rb b/Library/Formula/pinentry.rb
index bda36e2d2..854b84d9a 100644
--- a/Library/Formula/pinentry.rb
+++ b/Library/Formula/pinentry.rb
@@ -1,27 +1,28 @@
-require 'formula'
+require "formula"
class Pinentry < Formula
- homepage 'http://www.gnupg.org/related_software/pinentry/index.en.html'
- url 'ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-0.8.4.tar.bz2'
- sha1 '36c94980ceab5c15e188de121f7ab4c7ee6b3521'
+ homepage "http://www.gnupg.org/related_software/pinentry/index.en.html"
+ url "ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-0.9.0.tar.bz2"
+ sha1 "f8e5c774c35fbb91d84e82559baf76f6b4513236"
bottle do
cellar :any
- revision 1
sha1 "c31bea35dfee2a0781fbb953a4bf17e215f08df8" => :yosemite
sha1 "007ad6402a6ec5b38bc852849d0fcdcf957ea6dc" => :mavericks
sha1 "44787bbcfb7e53371fe58eeb4076ff5529d7c24c" => :mountain_lion
end
- depends_on 'pkg-config' => :build
+ depends_on "pkg-config" => :build
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
- "--disable-pinentry-qt",
"--disable-pinentry-qt4",
- "--disable-pinentry-gtk",
"--disable-pinentry-gtk2"
- system "make install"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/pinentry", "--version"
end
end