4ad88c829af99497fa456a52c1ebd1a3e28802d0
[termux-packages] / packages / libtool / build.sh
1 TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/libtool/
2 TERMUX_PKG_DESCRIPTION="Generic library support script hiding the complexity of using shared libraries behind a consistent, portable interface"
3 TERMUX_PKG_DEPENDS="bash,grep,sed"
4 TERMUX_PKG_VERSION=2.4.6
5 TERMUX_PKG_BUILD_REVISION=2
6 TERMUX_PKG_SRCURL=http://ftpmirror.gnu.org/libtool/libtool-${TERMUX_PKG_VERSION}.tar.gz
7
8 termux_step_post_make_install () {
9 perl -p -i -e "s|\"/bin/|\"$TERMUX_PREFIX/bin/|" $TERMUX_PREFIX/bin/{libtool,libtoolize}
10 perl -p -i -e "s|${_SPECSFLAG}||g" $TERMUX_PREFIX/bin/{libtool,libtoolize}
11 }