wok-6.x annotate redis/receipt @ rev 25322
cpige: remove -static
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 22 07:58:08 2022 +0000 (2022-07-22) |
parents | 00b254b52ef6 |
children |
rev | line source |
---|---|
nneul@17867 | 1 # SliTaz package receipt. |
nneul@17867 | 2 |
nneul@17867 | 3 PACKAGE="redis" |
Hans-G?nter@25275 | 4 VERSION="7.0.3" |
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@25275 | 15 DEPENDS="gcc83-lib-base libatomic libxslt" |
Hans-G?nter@25275 | 16 BUILD_DEPENDS="gcc83 libatomic 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 } |