wok view redis/receipt @ rev 25779
Up fdutils (5.6), lite (1.11), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:24:30 2024 +0000 (2 months ago) |
parents | 6acd28d149b8 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="redis"
4 VERSION="7.2.5"
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://github.com/redis/redis"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/redis/redis/archive/refs/tags/$VERSION.tar.gz"
15 DEPENDS="gcc83-lib-base libatomic libxslt"
16 BUILD_DEPENDS="gcc83 libatomic libxslt-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 export LDFLAGS="$LDFLAGS -latomic"
30 make MALLOC=libc \
31 CC=gcc-83 \
32 CXX=g++-83
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 mkdir -p $fs/etc
41 cp -a $src/redis.conf $fs/etc
42 cp -a $src/src/redis-benchmark $fs/usr/bin
43 cp -a $src/src/redis-cli $fs/usr/bin
44 cp -a $src/src/redis-check-aof $fs/usr/bin
45 # 6.2.6 not created
46 # cp -a $src/src/redis-check-dump $fs/usr/bin
47 cp -a $src/src/redis-check-rdb $fs/usr/bin
48 cp -a $src/src/redis-server $fs/usr/bin
49 }