2017-07-20 21:44:41 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://www.gnupg.org/
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="OpenPGP implementation for encrypting and signing data and communication"
|
2018-06-12 10:34:05 +02:00
|
|
|
TERMUX_PKG_VERSION=1.4.23
|
|
|
|
TERMUX_PKG_SHA256=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_SRCURL=ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${TERMUX_PKG_VERSION}.tar.bz2
|
|
|
|
# disable readline since gnupg is used in bootstrap, so nice to avoid readline+ncurses dependencies.
|
|
|
|
# ac_cv_sys_symbol_underscore=no needed for i686 build to avoid "undefined reference to `mpihelp_sub_n'" errors
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-endian-check --without-readline ac_cv_sys_symbol_underscore=no"
|
|
|
|
# ac_cv_header_sys_shm_h is to avoid USE_SHM_COPROCESSING getting defined due to <sys/shm.h>,
|
|
|
|
# which it does on android-21 (but shmat(2) does not exist)
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" ac_cv_header_sys_shm_h=no"
|
2015-12-04 01:57:55 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-bzip2"
|
2015-06-13 01:03:31 +02:00
|
|
|
|
2016-09-04 00:15:47 +02:00
|
|
|
termux_step_pre_configure() {
|
2018-05-27 14:55:20 +02:00
|
|
|
CFLAGS+=" -D__LITTLE_ENDIAN__ -fheinous-gnu-extensions"
|
2016-09-04 00:15:47 +02:00
|
|
|
}
|