From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 14 Feb 2022 13:45:29 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nJajR-00G9c7-36 for lore@lore.pengutronix.de; Mon, 14 Feb 2022 13:45:29 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1nJajP-0004GZ-Vc; Mon, 14 Feb 2022 13:45:27 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJahf-0002QN-Kv; Mon, 14 Feb 2022 13:43:39 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nJahf-00GY6p-HB; Mon, 14 Feb 2022 13:43:38 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1nJahe-003WTm-2O; Mon, 14 Feb 2022 13:43:38 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 14 Feb 2022 13:43:38 +0100 Message-Id: <20220214124338.839789-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220207160600.69277-1-clemens.gruber@pqgruber.com> References: <20220207160600.69277-1-clemens.gruber@pqgruber.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] hiredis: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Clemens Gruber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 93cb2ad20b3d9526f17114b70838848c9281ac8c. Michael [sent from post-receive hook] On Mon, 14 Feb 2022 13:43:37 +0100, Clemens Gruber wrote: > Adds a new package for hiredis, a minimalistic C client library for > Redis. > > Signed-off-by: Clemens Gruber > Message-Id: <20220207160600.69277-1-clemens.gruber@pqgruber.com> > Signed-off-by: Michael Olbrich > > 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 > +# > +# 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 ") > + @$(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 ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de