From 0d1a6dc8778077222912829967bdc809f609e641 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Sat, 27 Mar 2021 23:51:30 +0100 Subject: [PATCH] gnupg recipe --- recipes/gnupg/Makefile | 30 ++++++++++++++++++++++++++++++ recipes/gnupg/README | 3 +++ 2 files changed, 33 insertions(+) create mode 100644 recipes/gnupg/Makefile create mode 100644 recipes/gnupg/README diff --git a/recipes/gnupg/Makefile b/recipes/gnupg/Makefile new file mode 100644 index 0000000..4253588 --- /dev/null +++ b/recipes/gnupg/Makefile @@ -0,0 +1,30 @@ +name = gnupg +version = 2.2.27 +release = 0 +URL = https://gnupg.org/ftp/gcrypt/gnupg/gnupg-$(version).tar.bz2 + +build-dependencies = libgcrypt-dev libassuan-dev libnpth-dev libksba-dev +dependencies = libgpg-error libgcrypt libassuan pkgconf libnpth binutils libksba + +CONFIGURE_OPTIONS_USER = --enable-gpg-is-gpg2 \ + \ + --disable-gpgsm \ + --disable-scdaemon \ + --disable-dirmngr \ + --disable-doc \ + --disable-gpgtar \ + --disable-wks-tools \ + --disable-selinux-support \ + --disable-exec \ + --disable-photo-viewers \ + --disable-card-support \ + --disable-ccid-driver \ + --disable-dirmngr-auto-start \ + --disable-sqlite \ + --disable-ntbtls \ + --disable-gnutls \ + --disable-ldap \ + --disable-rpath + +SYSCONF ?= ../../ +include $(SYSCONF)/package.mk diff --git a/recipes/gnupg/README b/recipes/gnupg/README new file mode 100644 index 0000000..7d3b0c3 --- /dev/null +++ b/recipes/gnupg/README @@ -0,0 +1,3 @@ +In the configure script, warnings are written in the error output, but missing libraries that forbid to continue building the application are in the standard output. + +On Alpine Linux: libnpth is named npth