Files
termux-packages/packages/libtool/build.sh
termux-pacman-bot 3b51e4dc51 chore(libltdl): Fix package dependency cycle
The libltdl has been split out from libtool to allow packages to depend
only on libltdl and not the whole libtool. But for this to work we need

TERMUX_SUBPKG_DEPEND_ON_PARENT=no

Otherwise there is a dependency cycle between libtool and libltdl, so
they are always installed together
2023-10-06 13:31:11 +00:00

18 lines
823 B
Bash

TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/libtool/
TERMUX_PKG_DESCRIPTION="Generic library support script hiding the complexity of using shared libraries behind a consistent, portable interface"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=2.4.7
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/libtool/libtool-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=04e96c2404ea70c590c546eba4202a4e12722c640016c12b9b2f1ce3d481e9a8
TERMUX_PKG_DEPENDS="bash, grep, sed, libltdl"
TERMUX_PKG_CONFLICTS="libtool-dev, libtool-static"
TERMUX_PKG_REPLACES="libtool-dev, libtool-static"
TERMUX_PKG_NO_STATICSPLIT=true
TERMUX_PKG_GROUPS="base-devel"
termux_step_post_make_install() {
perl -p -i -e "s|\"/bin/|\"$TERMUX_PREFIX/bin/|" $TERMUX_PREFIX/bin/{libtool,libtoolize}
}