termux-packages/packages/gnupg2/build.sh

19 lines
823 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://www.gnupg.org/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Implementation of the OpenPGP standard for encrypting and signing data and communication"
2018-05-13 02:32:10 +02:00
TERMUX_PKG_VERSION=2.2.7
TERMUX_PKG_SHA256=d95b361ee6ef7eff86af40c8c72bf9313736ac9f7010d6604d78bf83818e976e
2016-11-19 19:40:47 +01:00
TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_DEPENDS="libassuan,libbz2,libgcrypt,libksba,libsqlite,libnpth,readline,pinentry,libgpg-error"
2017-08-11 17:55:20 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-ldap
--enable-gpg-is-gpg2
--enable-sqlite
--enable-tofu
2017-08-11 17:55:20 +02:00
"
2015-06-13 01:03:31 +02:00
# Remove non-english help files and man pages shipped with the gnupg (1) package:
TERMUX_PKG_RM_AFTER_INSTALL="share/gnupg/help.*.txt share/man/man1/gpg-zip.1 share/man/man7/gnupg.7"
2015-12-06 22:31:09 +01:00
2016-09-04 00:15:47 +02:00
termux_step_pre_configure() {
CPPFLAGS+=" -Ddn_skipname=__dn_skipname"
}