wok-6.x view hiredis/receipt @ rev 24134
Up lzsa (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 28 18:03:20 2021 +0000 (2021-10-28) |
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 }