2017-07-20 21:44:41 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnupg.org/
|
2018-07-29 21:33:27 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="Implementation of the OpenPGP standard for encrypting and signing data and communication"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-12-20 14:16:34 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-05-04 18:20:26 +02:00
|
|
|
TERMUX_PKG_VERSION=2.3.1
|
2021-05-05 11:57:20 +02:00
|
|
|
TERMUX_PKG_REVISION=1
|
2018-07-29 21:33:27 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${TERMUX_PKG_VERSION}.tar.bz2
|
2021-05-04 18:20:26 +02:00
|
|
|
TERMUX_PKG_SHA256=c498db346a9b9a4b399e514c8f56dfc0a888ce8f327f10376ff984452cd154ec
|
2019-11-14 18:02:23 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libassuan, libbz2, libgcrypt, libgnutls, libgpg-error, libksba, libnpth, libsqlite, readline, pinentry, resolv-conf, zlib"
|
|
|
|
TERMUX_PKG_CONFLICTS="gnupg2 (<< 2.2.9-1), dirmngr (<< 2.2.17-1)"
|
|
|
|
TERMUX_PKG_REPLACES="gnupg2 (<< 2.2.9-1), dirmngr (<< 2.2.17-1)"
|
2018-07-29 21:33:27 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--disable-ldap
|
|
|
|
--enable-sqlite
|
|
|
|
--enable-tofu
|
|
|
|
"
|
|
|
|
# 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-06-13 01:03:31 +02:00
|
|
|
|
2016-09-04 00:15:47 +02:00
|
|
|
termux_step_pre_configure() {
|
2018-07-29 21:33:27 +02:00
|
|
|
CPPFLAGS+=" -Ddn_skipname=__dn_skipname"
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install() {
|
|
|
|
cd $TERMUX_PREFIX/bin
|
|
|
|
ln -sf gpg gpg2
|
2016-09-04 00:15:47 +02:00
|
|
|
}
|