mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
4d1c82acdb
This commit has been automatically submitted by Github Actions.
23 lines
843 B
Bash
23 lines
843 B
Bash
TERMUX_PKG_HOMEPAGE="http://git.linux-nfs.org/?p=steved/libtirpc.git"
|
|
TERMUX_PKG_DESCRIPTION="Transport Independent RPC library"
|
|
TERMUX_PKG_LICENSE="BSD"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="1.3.6"
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/sourceforge/libtirpc/libtirpc-${TERMUX_PKG_VERSION}.tar.bz2
|
|
TERMUX_PKG_SHA256=bbd26a8f0df5690a62a47f6aa30f797f3ef8d02560d1bc449a83066b5a1d3508
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gssapi"
|
|
|
|
termux_step_post_get_source() {
|
|
sed -i "s/AC_INIT(libtirpc, [^)]*)/AC_INIT(libtirpc, ${TERMUX_PKG_VERSION##*:})/" configure.ac
|
|
}
|
|
|
|
termux_step_pre_configure() {
|
|
# Avoid build errors such as: version script assignment of 'TIRPC_0.3.0' to symbol '_svcauth_gss' failed: symbol not defined
|
|
LDFLAGS+=" -Wl,-undefined-version"
|
|
|
|
aclocal
|
|
automake
|
|
autoconf
|
|
}
|