Thanks, applied as 93cb2ad20b3d9526f17114b70838848c9281ac8c.

Michael

[sent from post-receive hook]

On Mon, 14 Feb 2022 13:43:37 +0100, Clemens Gruber 
<[email protected]> wrote:
> Adds a new package for hiredis, a minimalistic C client library for
> Redis.
> 
> Signed-off-by: Clemens Gruber <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/hiredis.in b/rules/hiredis.in
> new file mode 100644
> index 000000000000..d416d69c4105
> --- /dev/null
> +++ b/rules/hiredis.in
> @@ -0,0 +1,8 @@
> +## SECTION=system_libraries
> +
> +config HIREDIS
> +     tristate
> +     select HOST_CMAKE
> +     prompt "hiredis                       "
> +     help
> +       Hiredis is a minimalistic C client library for the Redis database.
> diff --git a/rules/hiredis.make b/rules/hiredis.make
> new file mode 100644
> index 000000000000..c0d183a36e29
> --- /dev/null
> +++ b/rules/hiredis.make
> @@ -0,0 +1,61 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2022 by Clemens Gruber <[email protected]>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_HIREDIS) += hiredis
> +
> +#
> +# Paths and names
> +#
> +HIREDIS_VERSION              := 1.0.2
> +HIREDIS_MD5          := 58e8313188f66ed1be1c220d14a7752e
> +HIREDIS                      := hiredis-$(HIREDIS_VERSION)
> +HIREDIS_SUFFIX               := tar.gz
> +HIREDIS_URL          := 
> https://github.com/redis/hiredis/archive/v$(HIREDIS_VERSION).$(HIREDIS_SUFFIX)
> +HIREDIS_SOURCE               := $(SRCDIR)/$(HIREDIS).$(HIREDIS_SUFFIX)
> +HIREDIS_DIR          := $(BUILDDIR)/$(HIREDIS)
> +HIREDIS_LICENSE              := BSD-3-Clause
> +HIREDIS_LICENSE_FILES        := 
> file://COPYING;md5=d84d659a35c666d23233e54503aaea51
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +#
> +# cmake
> +#
> +HIREDIS_CONF_TOOL    := cmake
> +
> +HIREDIS_CONF_OPT     := \
> +     $(CROSS_CMAKE_USR) \
> +     -DDISABLE_TESTS=ON \
> +     -DENABLE_SSL=OFF
> +
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/hiredis.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, hiredis)
> +     @$(call install_fixup, hiredis,PRIORITY,optional)
> +     @$(call install_fixup, hiredis,SECTION,base)
> +     @$(call install_fixup, hiredis,AUTHOR,"Clemens Gruber 
> <[email protected]>")
> +     @$(call install_fixup, hiredis,DESCRIPTION,"Minimalistic C client for 
> Redis")
> +
> +     @$(call install_lib, hiredis, 0, 0, 0644, libhiredis)
> +
> +     @$(call install_finish, hiredis)
> +
> +     @$(call touch)
> +
> +# vim: syntax=make

_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to