1 TERMUX_PKG_HOMEPAGE
=http
://asg.web.cmu.edu
/sasl
/
2 TERMUX_PKG_DESCRIPTION
="Cyrus SASL - authentication abstraction library"
3 TERMUX_PKG_VERSION
=2.1.26
5 TERMUX_PKG_SRCURL
=ftp://ftp.cyrusimap.org
/cyrus-sasl
/cyrus-sasl-
${TERMUX_PKG_VERSION}.
tar.gz
6 TERMUX_PKG_SHA256
=8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3
7 # Seems to be race issues in build (symlink creation)::
8 TERMUX_MAKE_PROCESSES
=1
9 TERMUX_PKG_EXTRA_CONFIGURE_ARGS
="
11 ac_cv_header_syslog_h=no
14 --sysconfdir=$TERMUX_PREFIX/etc
16 --with-dbpath=$TERMUX_PREFIX/var/lib/sasldb
19 --with-plugindir=$TERMUX_PREFIX/lib/sasl2
21 TERMUX_PKG_RM_AFTER_INSTALL
="bin/pluginviewer"
23 termux_step_post_configure
() {
24 # Build wants to run makemd5 at build time:
25 gcc
$TERMUX_PKG_SRCDIR/include
/makemd5.c
-o
$TERMUX_PKG_BUILDDIR/include
/makemd5
26 touch -d
"next hour" $TERMUX_PKG_BUILDDIR/include
/makemd5
29 termux_step_post_massage
() {
30 for sub
in anonymous crammd5 digestmd5 plain
; do
31 local base
=lib
/sasl2
/lib
${sub}
32 if [ ! -L
${base}.so
] ||
[ ! -L
${base}.so
.3 ] ||
[ ! -f
${base}.so
.3.0.0 ] ; then
33 termux_error_exit
"libsasl not packaged with $base"