termux-packages/packages/libsasl/build.sh

28 lines
977 B
Bash
Raw Normal View History

2015-12-15 12:56:49 +01:00
TERMUX_PKG_HOMEPAGE=http://asg.web.cmu.edu/sasl/
TERMUX_PKG_DESCRIPTION="Cyrus SASL - authentication abstraction library"
TERMUX_PKG_VERSION=2.1.26
TERMUX_PKG_REVISION=1
2015-12-15 12:56:49 +01:00
TERMUX_PKG_SRCURL=ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${TERMUX_PKG_VERSION}.tar.gz
2017-03-27 01:56:11 +02:00
TERMUX_PKG_SHA256=8fbc5136512b59bb793657f36fadda6359cae3b08f01fd16b3d406f1345b7bc3
2016-01-05 04:16:53 +01:00
# Seems to be race issues in build (symlink creation)::
TERMUX_MAKE_PROCESSES=1
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_func_syslog=no
ac_cv_header_syslog_h=no
--disable-gssapi
--disable-otp
--sysconfdir=$TERMUX_PREFIX/etc
--with-dblib=none
--with-dbpath=$TERMUX_PREFIX/var/lib/sasldb
--without-des
--without-saslauthd
--with-plugindir=$TERMUX_PREFIX/lib/sasl2
"
2015-12-15 12:56:49 +01:00
TERMUX_PKG_RM_AFTER_INSTALL="bin/pluginviewer"
termux_step_post_configure () {
# Build wants to run makemd5 at build time:
gcc $TERMUX_PKG_SRCDIR/include/makemd5.c -o $TERMUX_PKG_BUILDDIR/include/makemd5
touch -d "next hour" $TERMUX_PKG_BUILDDIR/include/makemd5
2015-12-15 12:56:49 +01:00
}