1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 11:47:07 +00:00
termux-packages/packages/gnupg/build.sh

20 lines
1.1 KiB
Bash
Raw Normal View History

2015-06-12 23:03:31 +00:00
TERMUX_PKG_HOMEPAGE=http://www.gnupg.org/
TERMUX_PKG_DESCRIPTION="OpenPGP implementation for encrypting and signing data and communication"
2016-08-18 22:22:37 +00:00
TERMUX_PKG_VERSION=1.4.21
TERMUX_PKG_REVISION=1
2015-06-12 23:03:31 +00:00
TERMUX_PKG_SRCURL=ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${TERMUX_PKG_VERSION}.tar.bz2
2017-03-27 03:11:31 +00:00
TERMUX_PKG_SHA256=6b47a3100c857dcab3c60e6152e56a997f2c7862c1b8b2b25adf3884a1ae2276
2015-06-12 23:03:31 +00:00
# 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 00:57:55 +00:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --disable-bzip2"
2017-01-18 00:02:06 +00:00
# Assembly issues on at least arm:
TERMUX_PKG_CLANG=no
2015-06-12 23:03:31 +00:00
2016-09-03 22:15:47 +00:00
termux_step_pre_configure() {
CFLAGS+=" -D__LITTLE_ENDIAN__"
}