wok view hiredis/receipt @ rev 24161
updated memtester (4.3.0 -> 4.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 22 13:43:13 2021 +0100 (2021-12-22) |
parents | d079070599f5 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hiredis"
4 VERSION="0.14.0"
5 CATEGORY="misc"
6 SHORT_DESC="Minimalistic C client for Redis >= 1.2."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/redis/hiredis"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS=""
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make -j 1 &&
26 make PREFIX=/usr DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }