2016-08-02 11:39:03 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://apr.apache.org/
|
2017-12-05 22:48:12 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="Apache Portable Runtime Library"
|
2019-01-20 22:39:59 +01:00
|
|
|
TERMUX_PKG_LICENSE="Apache-2.0"
|
2019-05-06 00:06:46 +02:00
|
|
|
TERMUX_PKG_VERSION=1.7.0
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2016-08-02 11:39:03 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://apache.mirrors.spacedump.net/apr/apr-${TERMUX_PKG_VERSION}.tar.bz2
|
2019-06-30 16:48:44 +02:00
|
|
|
TERMUX_PKG_SHA256=e2e148f0b2e99b8e5c6caa09f6d4fb4dd3e83f744aa72a952f94f5a14436f7ea
|
2015-07-15 14:02:28 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libuuid"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="apr-dev"
|
|
|
|
TERMUX_PKG_REPLACES="apr-dev"
|
2015-06-13 01:03:31 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC="yes"
|
2016-05-04 14:54:30 +02:00
|
|
|
# "ac_cv_search_crypt=" to avoid needlessly linking to libcrypt.
|
2017-08-17 20:52:37 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--with-installbuilddir=$TERMUX_PREFIX/share/apr-1/build
|
2019-06-30 16:48:44 +02:00
|
|
|
ac_cv_func_getrandom=no
|
|
|
|
ac_cv_have_decl_SYS_getrandom=no
|
2017-08-17 20:52:37 +02:00
|
|
|
ac_cv_file__dev_zero=yes
|
|
|
|
ac_cv_func_setpgrp_void=yes
|
|
|
|
apr_cv_process_shared_works=no
|
|
|
|
apr_cv_tcp_nodelay_with_cork=yes
|
2017-08-18 23:05:05 +02:00
|
|
|
ac_cv_sizeof_struct_iovec=$(( TERMUX_ARCH_BITS==32 ? 8 : 16 ))
|
2017-08-17 20:52:37 +02:00
|
|
|
ac_cv_search_crypt="
|
2017-07-31 01:27:44 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="lib/apr.exp"
|
2019-01-21 00:18:34 +01:00
|
|
|
|
2019-02-08 10:37:29 +01:00
|
|
|
termux_step_post_make_install() {
|
2019-01-21 00:18:34 +01:00
|
|
|
sed -i "s%NM=\".*%NM=\"${TERMUX_HOST_PLATFORM}-nm -B\"%g" $TERMUX_PREFIX/share/apr-1/build/libtool
|
|
|
|
}
|