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