Files
termux-packages/packages/libxmlrpc/build.sh
termux-pacman-bot 27f42c9528 bump(main/libxmlrpc): 1.60.05
This commit has been automatically submitted by Github Actions.
2025-04-13 06:41:13 +00:00

36 lines
1.1 KiB
Bash

TERMUX_PKG_HOMEPAGE="https://xmlrpc-c.sourceforge.io/"
TERMUX_PKG_DESCRIPTION="XML-RPC for C and C++"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_LICENSE_FILE="doc/COPYING"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.60.05"
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/xmlrpc-c/Xmlrpc-c%20Super%20Stable/${TERMUX_PKG_VERSION}/xmlrpc-c-${TERMUX_PKG_VERSION}.tgz
TERMUX_PKG_SHA256=67d860062459ea2784c07b4d7913319d9539fa729f534378e8e41c8918f2adf6
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_HOSTBUILD=true
TERMUX_PKG_UPDATE_METHOD=repology
TERMUX_PKG_BUILD_DEPENDS="libcurl, openssl"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-cgi-server
--disable-libwww-client
--disable-libxml2-backend
--disable-wininet-client
--enable-cplusplus
"
# separate host-build directory but build system does not support out-of-tree build
termux_step_host_build() {
pushd $TERMUX_PKG_HOSTBUILD_DIR
cp -r $TERMUX_PKG_SRCDIR/* .
./configure
# build only the required tool
make -C lib/expat/gennmtab
popd
}
termux_step_post_configure() {
export GENNMTAB=$TERMUX_PKG_HOSTBUILD_DIR/lib/expat/gennmtab/gennmtab
}