wok-6.x view redis/receipt @ rev 24611
updated libgd and libgd-dev (2.0.35 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 09:32:37 2022 +0100 (2022-03-04) |
parents | d8c28080cd55 |
children | 6ca8e3b4b588 |
line source
1 # SliTaz package receipt.
3 PACKAGE="redis"
4 VERSION="6.2.6"
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 libxslt"
16 BUILD_DEPENDS="gcc83 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 }