wok annotate hiredis/receipt @ rev 24417

created recipes for perl-cairo-gobject, perl-glib-object-introspection and perl-gtk3
author Hans-G?nter Theisgen
date Fri Feb 11 09:16:47 2022 +0100 (2022-02-11)
parents 5ea0ce1cecc0
children 290ce85aaca4
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@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@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 }