You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
883 B
19 lines
883 B
8 years ago
|
TERMUX_PKG_HOMEPAGE=https://memcached.org/
|
||
|
TERMUX_PKG_DESCRIPTION="Free & open source, high-performance, distributed memory object caching system"
|
||
|
TERMUX_PKG_VERSION=1.4.36
|
||
|
TERMUX_PKG_SRCURL=http://www.memcached.org/files/memcached-$TERMUX_PKG_VERSION.tar.gz
|
||
|
TERMUX_PKG_SHA256=773b6bb20bf80223ca6a15d75f570fbab346ad11ec98595e5af5e33f54bd82d8
|
||
|
TERMUX_PKG_DEPENDS="libevent, libsasl"
|
||
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-sasl --disable-coverage"
|
||
|
TERMUX_PKG_BUILD_IN_SRC=yes
|
||
|
|
||
|
termux_step_pre_configure() {
|
||
|
export ac_cv_c_endian=little
|
||
|
|
||
|
# fix SASL configuration path
|
||
|
perl -p -i -e "s#/etc/sasl#$TERMUX_PREFIX/etc/sasl#" $TERMUX_PKG_BUILDDIR/sasl_defs.c
|
||
|
|
||
|
# getsubopt() taken from https://github.com/lxc/lxc/blob/master/src/include/getsubopt.c
|
||
|
cp $TERMUX_PKG_BUILDER_DIR/getsubopt.c $TERMUX_PKG_SRCDIR
|
||
|
cp $TERMUX_PKG_BUILDER_DIR/getsubopt.h $TERMUX_PKG_SRCDIR
|
||
|
}
|