wok-6.x view redis/receipt @ rev 23915
Add 2048
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 18 16:53:56 2020 +0000 (2020-08-18) |
parents | 6135577f4d08 |
children | a3c45ab9082e |
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -latomic"
23 make \
24 CC=gcc-83 \
25 CXX=g++-83 \
26 PREFIX=/usr
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 mkdir -p $fs/etc
35 cp -a $src/src/redis-cli $fs/usr/bin
36 cp -a $src/src/redis-server $fs/usr/bin
37 cp -a $src/src/redis-benchmark $fs/usr/bin
38 cp -a $src/src/redis-check-rdb $fs/usr/bin
39 cp -a $src/src/redis-check-aof $fs/usr/bin
40 cp -a $src/redis.conf $fs/etc
41 }