wok view redis/receipt @ rev 24114

black, libquicktime, redis, stella: make -j 4
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 29 20:50:54 2021 +0000 (2021-09-29)
parents 46dcc80bef41
children 00b254b52ef6
line source
1 # SliTaz package receipt.
3 PACKAGE="redis"
4 VERSION="5.0.8"
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="http://download.redis.io/releases/$TARBALL"
15 DEPENDS="gcc83-lib-base"
16 BUILD_DEPENDS="gcc83 libxslt"
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 -j 4 \
30 CC=gcc-83 \
31 CXX=g++-83 \
32 PREFIX=/usr
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/src/redis-cli $fs/usr/bin
42 cp -a $src/src/redis-server $fs/usr/bin
43 cp -a $src/src/redis-benchmark $fs/usr/bin
44 cp -a $src/src/redis-check-rdb $fs/usr/bin
45 cp -a $src/src/redis-check-aof $fs/usr/bin
46 cp -a $src/redis.conf $fs/etc
47 }