termux-packages/packages/libtool/build.sh

12 lines
582 B
Bash
Raw Normal View History

2015-06-13 01:03:31 +02:00
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_DEPENDS="bash,grep,sed"
2015-06-13 01:03:31 +02:00
TERMUX_PKG_VERSION=2.4.6
2016-02-04 15:38:32 +01:00
TERMUX_PKG_BUILD_REVISION=2
2015-06-13 01:03:31 +02:00
TERMUX_PKG_SRCURL=http://ftpmirror.gnu.org/libtool/libtool-${TERMUX_PKG_VERSION}.tar.gz
termux_step_post_make_install () {
perl -p -i -e "s|\"/bin/|\"$TERMUX_PREFIX/bin/|" $TERMUX_PREFIX/bin/{libtool,libtoolize}
2016-02-04 15:38:32 +01:00
perl -p -i -e "s|${_SPECSFLAG}||g" $TERMUX_PREFIX/bin/{libtool,libtoolize}
}