wok-6.x annotate redis/receipt @ rev 24352
babl-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 03 10:29:52 2022 +0000 (2022-02-03) |
parents | d8c28080cd55 |
children | 6ca8e3b4b588 |
rev | line source |
---|---|
nneul@17867 | 1 # SliTaz package receipt. |
nneul@17867 | 2 |
nneul@17867 | 3 PACKAGE="redis" |
Hans-G?nter@24280 | 4 VERSION="6.2.6" |
nneul@17867 | 5 CATEGORY="database" |
Hans-G?nter@23614 | 6 TAGS="database" |
Hans-G?nter@23614 | 7 SHORT_DESC="An open source, BSD licensed, advanced key-value cache and store." |
nneul@17867 | 8 MAINTAINER="nneul@neulinger.org" |
nneul@17867 | 9 LICENSE="BSD" |
Hans-G?nter@23614 | 10 WEB_SITE="https://redis.io/" |
Hans-G?nter@23614 | 11 |
pascal@17869 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@24280 | 13 WGET_URL="https://download.redis.io/releases/$TARBALL" |
Hans-G?nter@23614 | 14 |
Hans-G?nter@24280 | 15 DEPENDS="gcc83-lib-base libxslt" |
Hans-G?nter@24280 | 16 BUILD_DEPENDS="gcc83 libxslt-dev" |
nneul@17867 | 17 |
pascal@24083 | 18 current_version() |
pascal@24083 | 19 { |
pascal@24083 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24094 | 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*>$PACKAGE-||;s|.t.*||" | sort -Vr | sed q |
pascal@24083 | 22 } |
pascal@24083 | 23 |
nneul@17867 | 24 # Rules to configure and make the package. |
nneul@17867 | 25 compile_rules() |
nneul@17867 | 26 { |
Hans-G?nter@23614 | 27 export LDFLAGS="$LDFLAGS -latomic" |
Hans-G?nter@23614 | 28 |
Hans-G?nter@24280 | 29 make MALLOC=libc \ |
Hans-G?nter@24280 | 30 CC=gcc-83 \ |
Hans-G?nter@24280 | 31 CXX=g++-83 |
nneul@17867 | 32 } |
nneul@17867 | 33 |
nneul@17867 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@17867 | 35 genpkg_rules() |
nneul@17867 | 36 { |
nneul@17867 | 37 mkdir -p $fs/usr/bin |
nneul@17867 | 38 mkdir -p $fs/etc |
Hans-G?nter@23614 | 39 |
Hans-G?nter@24280 | 40 cp -a $src/redis.conf $fs/etc |
Hans-G?nter@24280 | 41 cp -a $src/src/redis-benchmark $fs/usr/bin |
Hans-G?nter@23614 | 42 cp -a $src/src/redis-cli $fs/usr/bin |
Hans-G?nter@24280 | 43 cp -a $src/src/redis-check-aof $fs/usr/bin |
Hans-G?nter@24280 | 44 # 6.2.6 not created |
Hans-G?nter@24280 | 45 # cp -a $src/src/redis-check-dump $fs/usr/bin |
Hans-G?nter@24280 | 46 cp -a $src/src/redis-check-rdb $fs/usr/bin |
Hans-G?nter@23614 | 47 cp -a $src/src/redis-server $fs/usr/bin |
nneul@17867 | 48 } |