TERMUX_PKG_HOMEPAGE=https://redis.io/
-TERMUX_PKG_DESCRIPTION="Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache and message broker"
-TERMUX_PKG_VERSION=3.2.8
+TERMUX_PKG_DESCRIPTION="In-memory data structure store used as a database, cache and message broker"
+TERMUX_PKG_VERSION=4.0.1
+TERMUX_PKG_SHA256=2049cd6ae9167f258705081a6ef23bb80b7eff9ff3d0d7481e89510f27457591
TERMUX_PKG_SRCURL=http://download.redis.io/releases/redis-$TERMUX_PKG_VERSION.tar.gz
-TERMUX_PKG_SHA256=61b373c23d18e6cc752a69d5ab7f676c6216dc2853e46750a8c4ed791d68482c
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_CONFFILES="etc/redis.conf"
export USE_JEMALLOC=no
LDFLAGS+=" -llog"
+
+ if [ $TERMUX_ARCH = "i686" ]; then
+ sed -i 's/FINAL_LIBS=-lm/FINAL_LIBS=-lm -latomic/' $TERMUX_PKG_SRCDIR/src/Makefile
+ fi
}
termux_step_post_make_install() {
cp $TERMUX_PKG_SRCDIR/redis.conf $TERMUX_PREFIX/etc/redis.conf
-}
\ No newline at end of file
+}