wok view hiredis/receipt @ rev 24386

updated bozohttpd (20190228 -> 20210227)
author Hans-G?nter Theisgen
date Mon Feb 07 13:22:58 2022 +0100 (2022-02-07)
parents 5ea0ce1cecc0
children 290ce85aaca4
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*}/tags 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 }