termux-packages/packages/redis/build.sh
Butta 9177f1298e libssh: update from 0.9.4 to 0.9.5
redis: update from 6.0.7 to 6.0.8

sleuthkit: update from 4.9.0 to 4.10.0
2020-09-11 22:52:50 +05:30

22 lines
759 B
Bash

TERMUX_PKG_HOMEPAGE=https://redis.io/
TERMUX_PKG_DESCRIPTION="In-memory data structure store used as a database, cache and message broker"
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_VERSION=6.0.8
TERMUX_PKG_SRCURL=http://download.redis.io/releases/redis-$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=04fa1fddc39bd1aecb6739dd5dd73858a3515b427acd1e2947a66dadce868d68
TERMUX_PKG_BUILD_IN_SRC=true
TERMUX_PKG_CONFFILES="etc/redis.conf"
termux_step_pre_configure() {
export PREFIX=$TERMUX_PREFIX
export USE_JEMALLOC=no
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() {
install -Dm600 $TERMUX_PKG_SRCDIR/redis.conf $TERMUX_PREFIX/etc/redis.conf
}