From 86675b75847e1e1184cb9f2919c59c0929e1ca82 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 5 May 2016 18:25:32 -0400 Subject: [PATCH] finch: Put symlinks to used libs in $PREFIX/lib Fixes error mentioned in #95. --- packages/finch/build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/finch/build.sh b/packages/finch/build.sh index f0f9760b8..18b052f67 100644 --- a/packages/finch/build.sh +++ b/packages/finch/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://pidgin.im/ TERMUX_PKG_DESCRIPTION="Text-based multi-protocol instant messaging client" TERMUX_PKG_VERSION=2.10.12 -TERMUX_PKG_BUILD_REVISION=1 +TERMUX_PKG_BUILD_REVISION=2 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/pidgin/Pidgin/${TERMUX_PKG_VERSION}/pidgin-${TERMUX_PKG_VERSION}.tar.bz2 TERMUX_PKG_DEPENDS="libgnutls, libxml2, ncurses-ui-libs, glib" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-gtkui --disable-gstreamer --disable-vv --disable-idn --disable-meanwhile --disable-avahi --disable-dbus --disable-perl --disable-tcl --without-zephyr --with-ncurses-headers=$TERMUX_PREFIX/include --without-python" @@ -9,3 +9,10 @@ TERMUX_PKG_RM_AFTER_INSTALL="share/sounds/purple lib/purple-2/libmsn.so" # For arpa: CFLAGS="$CFLAGS -isystem $TERMUX_PKG_BUILDER_DIR" + +termux_step_post_make_install () { + cd $TERMUX_PREFIX/lib + for lib in jabber oscar ymsg; do + ln -f -s purple-2/lib${lib}.so.0 . + done +}