add libpopt dependency to librsync
[termux-packages] / packages / apr / build.sh
1 TERMUX_PKG_HOMEPAGE=https://apr.apache.org/
2 TERMUX_PKG_VERSION=1.6.2
3 TERMUX_PKG_REVISION=2
4 TERMUX_PKG_SRCURL=http://apache.mirrors.spacedump.net/apr/apr-${TERMUX_PKG_VERSION}.tar.bz2
5 TERMUX_PKG_SHA256=09109cea377bab0028bba19a92b5b0e89603df9eab05c0f7dbd4dd83d48dcebd
6 TERMUX_PKG_DESCRIPTION="Apache Portable Runtime - library providing a predictable and consistent interface to underlying platform-specific implementations"
7 TERMUX_PKG_DEPENDS="libuuid"
8 TERMUX_PKG_BUILD_IN_SRC="yes"
9 # "ac_cv_search_crypt=" to avoid needlessly linking to libcrypt.
10 TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
11 --with-installbuilddir=$TERMUX_PREFIX/share/apr-1/build
12 ac_cv_file__dev_zero=yes
13 ac_cv_func_setpgrp_void=yes
14 apr_cv_process_shared_works=no
15 apr_cv_tcp_nodelay_with_cork=yes
16 ac_cv_sizeof_struct_iovec=$(( TERMUX_ARCH_BITS==32 ? 8 : 16 ))
17 ac_cv_search_crypt="
18 TERMUX_PKG_INCLUDE_IN_DEVPACKAGE="bin/apr-1-config share/apr-1/build"
19 TERMUX_PKG_RM_AFTER_INSTALL="lib/apr.exp"