wok view redis/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 months ago)
parents 6ca8e3b4b588
children 65c2646b484d
line source
1 # SliTaz package receipt.
3 PACKAGE="redis"
4 VERSION="7.2.4"
5 CATEGORY="database"
6 TAGS="database"
7 SHORT_DESC="An open source, BSD licensed, advanced key-value cache and store."
8 MAINTAINER="nneul@neulinger.org"
9 LICENSE="BSD"
10 WEB_SITE="https://redis.io/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://download.redis.io/releases/$TARBALL"
15 DEPENDS="gcc83-lib-base libatomic libxslt"
16 BUILD_DEPENDS="gcc83 libatomic libxslt-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*>$PACKAGE-||;s|.t.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export LDFLAGS="$LDFLAGS -latomic"
29 make MALLOC=libc \
30 CC=gcc-83 \
31 CXX=g++-83
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 mkdir -p $fs/etc
40 cp -a $src/redis.conf $fs/etc
41 cp -a $src/src/redis-benchmark $fs/usr/bin
42 cp -a $src/src/redis-cli $fs/usr/bin
43 cp -a $src/src/redis-check-aof $fs/usr/bin
44 # 6.2.6 not created
45 # cp -a $src/src/redis-check-dump $fs/usr/bin
46 cp -a $src/src/redis-check-rdb $fs/usr/bin
47 cp -a $src/src/redis-server $fs/usr/bin
48 }