2010-04-20 02:02:58 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pinentry < Formula
|
2011-05-30 06:04:23 +00:00
|
|
|
url 'ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-0.8.1.tar.gz'
|
2010-04-20 02:02:58 +00:00
|
|
|
homepage 'http://www.gnupg.org/related_software/pinentry/index.en.html'
|
2011-05-30 06:04:23 +00:00
|
|
|
sha1 '84a6940175b552a8562b4014f4661dec3ff10165'
|
2010-04-20 02:02:58 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-04-20 02:02:58 +00:00
|
|
|
depends_on 'libgpg-error'
|
|
|
|
depends_on 'libgcrypt'
|
|
|
|
depends_on 'libksba'
|
|
|
|
depends_on 'libassuan'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--disable-pinentry-qt",
|
|
|
|
"--disable-pinentry-qt4"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|