37375312b9
In issue https://github.com/termux/termux-packages/issues/6160 I have found that community repo "its-pointless.github.io" specifies us as maintainer for its packages. This is NOT TRUE and potentially misleads people using these packages. Now TERMUX_PKG_MAINTAINER will contain a default value which is neutral and not specify maintainer. So all packages now have to override it to the correct value. [skip ci] %ci:no-build
24 lines
813 B
Bash
24 lines
813 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_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=6.0.9
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=http://download.redis.io/releases/redis-$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=dc2bdcf81c620e9f09cfd12e85d3bc631c897b2db7a55218fd8a65eaa37f86dd
|
|
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
|
|
}
|