summaryrefslogtreecommitdiff
path: root/homebrew/gnupgat14/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gnupgat14/.make.sh-auto')
-rw-r--r--homebrew/gnupgat14/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/gnupgat14/.make.sh-auto b/homebrew/gnupgat14/.make.sh-auto
new file mode 100644
index 000000000..6c7072f68
--- /dev/null
+++ b/homebrew/gnupgat14/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+args = %W[--disable-dependency-tracking --disable-silent-rules --prefix=#{prefix} --disable-asm --program-suffix=1 --with-libusb=no ]
+pkg:configure *args
+make
+make check
+[bin, libexec/"gnupg"].each(&:mkpath)
+make DESTDIR=${PKG_DEST} install
+inreplace bin/"gpg-zip1", "GPG=gpg", "GPG=gpg1"
+%w[curl finger hkp ldap].each do |cmd|
+cmd.prepend("gpgkeys_")
+(libexec/"gnupg").install_symlink (cmd + "1") => cmd