mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
redis: update to 4.0.10.
Closes #29. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
9dcf25cbb3
commit
be328d5d91
1 changed files with 9 additions and 5 deletions
|
@ -1,18 +1,19 @@
|
||||||
# Template file for 'redis'
|
# Template file for 'redis'
|
||||||
pkgname=redis
|
pkgname=redis
|
||||||
version=4.0.9
|
version=4.0.10
|
||||||
revision=1
|
revision=1
|
||||||
makedepends="jemalloc-devel libatomic-devel"
|
makedepends="jemalloc-devel libatomic-devel"
|
||||||
checkdepends="tcl-devel"
|
checkdepends="tcl-devel"
|
||||||
homepage="https://redis.io"
|
|
||||||
distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"
|
|
||||||
short_desc="Advanced key-value store"
|
short_desc="Advanced key-value store"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
checksum=df4f73bc318e2f9ffb2d169a922dec57ec7c73dd07bccf875695dbeecd5ec510
|
homepage="https://redis.io"
|
||||||
|
#changelog="https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES"
|
||||||
|
distfiles="http://download.redis.io/releases/${pkgname}-${version}.tar.gz"
|
||||||
|
checksum=1db67435a704f8d18aec9b9637b373c34aa233d65b6e174bdac4c1b161f38ca4
|
||||||
|
|
||||||
system_accounts="redis"
|
system_accounts="redis"
|
||||||
redis_homedir="/var/lib/redis"
|
redis_homedir=/var/lib/redis
|
||||||
conf_files="/etc/redis/redis.conf"
|
conf_files="/etc/redis/redis.conf"
|
||||||
|
|
||||||
do_configure() {
|
do_configure() {
|
||||||
|
@ -22,6 +23,7 @@ do_configure() {
|
||||||
-e "s|^pidfile .*|pidfile /run/redis/redis.pid|" redis.conf
|
-e "s|^pidfile .*|pidfile /run/redis/redis.pid|" redis.conf
|
||||||
sed -i -e "s|^FINAL_LIBS=.*|& -latomic|" src/Makefile
|
sed -i -e "s|^FINAL_LIBS=.*|& -latomic|" src/Makefile
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) _malloc="none";;
|
*-musl) _malloc="none";;
|
||||||
|
@ -29,9 +31,11 @@ do_build() {
|
||||||
esac
|
esac
|
||||||
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" V=1 MALLOC=${_malloc} ${makejobs}
|
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" V=1 MALLOC=${_malloc} ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
do_check() {
|
||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make INSTALL_BIN=${DESTDIR}/usr/bin PREFIX=/usr install
|
make INSTALL_BIN=${DESTDIR}/usr/bin PREFIX=/usr install
|
||||||
vlicense COPYING
|
vlicense COPYING
|
||||||
|
|
Loading…
Add table
Reference in a new issue