wok annotate hiredis/receipt @ rev 24851
updated libxdg-basedir and libxdg-basedir-dev (1.2.0 -> 1.2.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 26 10:49:19 2022 +0100 (2022-03-26) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
pascal@18371 | 1 # SliTaz package receipt. |
pascal@18371 | 2 |
pascal@18371 | 3 PACKAGE="hiredis" |
Hans-G?nter@24645 | 4 VERSION="1.0.2" |
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@24299 | 18 wget -O - ${WGET_URL%/arch*}/tags 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@24645 | 25 make && |
Hans-G?nter@24645 | 26 make install \ |
Hans-G?nter@24645 | 27 PREFIX=/usr \ |
Hans-G?nter@24645 | 28 DESTDIR=$DESTDIR |
pascal@18371 | 29 } |
pascal@18371 | 30 |
pascal@18371 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18371 | 32 genpkg_rules() |
pascal@18371 | 33 { |
Hans-G?nter@24645 | 34 cook_copy_files *.so* |
pascal@18371 | 35 } |