Update SDK build tools to 24.0.1
[termux-packages] / packages / finch / build.sh
1 TERMUX_PKG_HOMEPAGE=http://pidgin.im/
2 TERMUX_PKG_DESCRIPTION="Text-based multi-protocol instant messaging client"
3 TERMUX_PKG_VERSION=2.10.12
4 TERMUX_PKG_BUILD_REVISION=3
5 TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/pidgin/Pidgin/${TERMUX_PKG_VERSION}/pidgin-${TERMUX_PKG_VERSION}.tar.bz2
6 TERMUX_PKG_DEPENDS="libgnutls, libxml2, ncurses-ui-libs, glib"
7 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"
8 TERMUX_PKG_RM_AFTER_INSTALL="share/sounds/purple lib/purple-2/libmsn.so"
9
10 # For arpa:
11 CFLAGS="$CFLAGS -isystem $TERMUX_PKG_BUILDER_DIR"
12
13 termux_step_post_configure () {
14 # Hack to compile first version of libpurple-ciphers.la
15 cp $TERMUX_PREFIX/lib/libxml2.so $TERMUX_PREFIX/lib/libpurple.so
16
17 cd $TERMUX_PKG_BUILDDIR/libpurple/ciphers
18 make libpurple-ciphers.la
19 cd ..
20 make libpurple.la
21
22 # Put a more proper version in lib:
23 cp .libs/libpurple.so $TERMUX_PREFIX/lib/
24
25 make clean
26 }
27
28 termux_step_post_make_install () {
29 cd $TERMUX_PREFIX/lib
30 for lib in jabber oscar ymsg; do
31 ln -f -s purple-2/lib${lib}.so.0 .
32 done
33 }