gnupg: add option for installing gpg-zip

We've offered it before, so it's consistent.

Fixes https://github.com/Homebrew/brew/issues/2507.
This commit is contained in:
Dominyk Tiller 2017-04-19 20:58:16 +01:00 committed by ilovezfs
parent a164a61bf3
commit 1280015e43

View file

@ -12,6 +12,7 @@ class Gnupg < Formula
end
option "with-gpgsplit", "Additionally install the gpgsplit utility"
option "with-gpg-zip", "Additionally install the gpg-zip utility"
option "without-libusb", "Disable the internal CCID driver"
deprecated_option "without-libusb-compat" => "without-libusb"
@ -57,6 +58,7 @@ class Gnupg < Formula
man1.install_symlink "gpgv2.1" => "gpgv.1"
bin.install "tools/gpgsplit" => "gpgsplit2" if build.with? "gpgsplit"
bin.install "tools/gpg-zip" if build.with? "gpg-zip"
end
def post_install