notmuch: Update from 0.26.1 to 0.26.2
[termux-packages] / packages / finch / build.sh
CommitLineData
1f7f9db3 1TERMUX_PKG_HOMEPAGE=https://pidgin.im/
59f0d218 2TERMUX_PKG_DESCRIPTION="Text-based multi-protocol instant messaging client"
eaa16783
FF
3TERMUX_PKG_VERSION=2.13.0
4TERMUX_PKG_SHA256=2747150c6f711146bddd333c496870bfd55058bab22ffb7e4eb784018ec46d8f
59f0d218
FF
5TERMUX_PKG_SRCURL=http://downloads.sourceforge.net/project/pidgin/Pidgin/${TERMUX_PKG_VERSION}/pidgin-${TERMUX_PKG_VERSION}.tar.bz2
6TERMUX_PKG_DEPENDS="libgnutls, libxml2, ncurses-ui-libs, glib"
1f7f9db3
FF
7TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
8--disable-gtkui
9--disable-gstreamer
10--disable-vv
11--disable-idn
12--disable-meanwhile
13--disable-avahi
14--disable-dbus
15--disable-perl
16--disable-tcl
17--without-zephyr
18--with-ncurses-headers=$TERMUX_PREFIX/include
19--without-python
20"
7fb801a1 21TERMUX_PKG_RM_AFTER_INSTALL="share/sounds/purple lib/purple-2/libmsn.so"
59f0d218 22
7ce56385
FF
23termux_step_pre_configure () {
24 # For arpa:
25 CFLAGS+=" -isystem $TERMUX_PKG_BUILDER_DIR"
26}
86675b75 27
895604fe
FF
28termux_step_post_configure () {
29 # Hack to compile first version of libpurple-ciphers.la
30 cp $TERMUX_PREFIX/lib/libxml2.so $TERMUX_PREFIX/lib/libpurple.so
31
32 cd $TERMUX_PKG_BUILDDIR/libpurple/ciphers
33 make libpurple-ciphers.la
34 cd ..
35 make libpurple.la
36
37 # Put a more proper version in lib:
38 cp .libs/libpurple.so $TERMUX_PREFIX/lib/
39
40 make clean
41}
42
86675b75
FF
43termux_step_post_make_install () {
44 cd $TERMUX_PREFIX/lib
45 for lib in jabber oscar ymsg; do
eaa16783 46 ln -f -s purple-2/lib${lib}.so .
86675b75
FF
47 done
48}