From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH 1/4] libnghttp2: new package
Date: Tue, 4 Oct 2022 16:45:30 +0200 [thread overview]
Message-ID: <20221004144533.2269637-2-bst@pengutronix.de> (raw)
In-Reply-To: <20221004144533.2269637-1-bst@pengutronix.de>
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
rules/libnghttp2.in | 8 +++++
rules/libnghttp2.make | 77 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 85 insertions(+)
create mode 100644 rules/libnghttp2.in
create mode 100644 rules/libnghttp2.make
diff --git a/rules/libnghttp2.in b/rules/libnghttp2.in
new file mode 100644
index 000000000..ef5f879f2
--- /dev/null
+++ b/rules/libnghttp2.in
@@ -0,0 +1,8 @@
+## SECTION=networking
+
+config LIBNGHTTP2
+ tristate
+ select HOST_CMAKE
+ prompt "libnghttp2"
+ help
+ HTTP/2 C Library and tools
diff --git a/rules/libnghttp2.make b/rules/libnghttp2.make
new file mode 100644
index 000000000..cde2dc5de
--- /dev/null
+++ b/rules/libnghttp2.make
@@ -0,0 +1,77 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2022 by Bastian Krause <bst@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBNGHTTP2) += libnghttp2
+
+#
+# Paths and names
+#
+LIBNGHTTP2_VERSION := 1.50.0
+LIBNGHTTP2_MD5 := 4168ccacaa009665b6a7fe455842f95b
+LIBNGHTTP2 := nghttp2-$(LIBNGHTTP2_VERSION)
+LIBNGHTTP2_SUFFIX := tar.xz
+LIBNGHTTP2_URL := https://github.com/nghttp2/nghttp2/releases/download/v$(LIBNGHTTP2_VERSION)/$(LIBNGHTTP2).$(LIBNGHTTP2_SUFFIX)
+LIBNGHTTP2_SOURCE := $(SRCDIR)/$(LIBNGHTTP2).$(LIBNGHTTP2_SUFFIX)
+LIBNGHTTP2_DIR := $(BUILDDIR)/$(LIBNGHTTP2)
+LIBNGHTTP2_LICENSE := MIT
+LIBNGHTTP2_LICENSE_FILES := file://COPYING;md5=764abdf30b2eadd37ce47dcbce0ea1ec
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# cmake
+#
+LIBNGHTTP2_CONF_TOOL := cmake
+LIBNGHTTP2_CONF_OPT := \
+ $(CROSS_CMAKE_USR) \
+ -DENABLE_APP=OFF \
+ -DENABLE_ASIO_LIB=OFF \
+ -DENABLE_DEBUG=OFF \
+ -DENABLE_DOC=OFF \
+ -DENABLE_EXAMPLES=OFF \
+ -DENABLE_FAILMALLOC=OFF \
+ -DENABLE_HPACK_TOOLS=OFF \
+ -DENABLE_HTTP3=OFF \
+ -DENABLE_LIB_ONLY=ON \
+ -DENABLE_PYTHON_BINDINGS=OFF \
+ -DENABLE_SHARED_LIB=ON \
+ -DENABLE_STATIC_CRT=OFF \
+ -DENABLE_STATIC_LIB=OFF \
+ -DENABLE_THREADS=ON \
+ -DENABLE_WERROR=OFF \
+ -DWITH_JEMALLOC=OFF \
+ -DWITH_LIBBPF=OFF \
+ -DWITH_LIBXML2=OFF \
+ -DWITH_MRUBY=OFF \
+ -DWITH_NEVERBLEED=OFF
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libnghttp2.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libnghttp2)
+ @$(call install_fixup, libnghttp2,PRIORITY,optional)
+ @$(call install_fixup, libnghttp2,SECTION,base)
+ @$(call install_fixup, libnghttp2,AUTHOR,"Bastian Krause <bst@pengutronix.de>")
+ @$(call install_fixup, libnghttp2,DESCRIPTION,missing)
+
+ @$(call install_lib, libnghttp2, 0, 0, 0644, libnghttp2)
+
+ @$(call install_finish, libnghttp2)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.30.2
next prev parent reply other threads:[~2022-10-04 14:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-04 14:45 [ptxdist] [PATCH 0/4] Switch to libsoup3 Bastian Krause
2022-10-04 14:45 ` Bastian Krause [this message]
2022-10-19 5:41 ` [ptxdist] [APPLIED] libnghttp2: new package Michael Olbrich
2022-10-04 14:45 ` [ptxdist] [PATCH 2/4] libsoup: version bump 2.72.0 -> 3.2.0 Bastian Krause
2022-10-19 5:41 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-10-04 14:45 ` [ptxdist] [PATCH 3/4] wpewebkit: use libsoup3 Bastian Krause
2022-10-19 5:41 ` [ptxdist] [APPLIED] " Michael Olbrich
2022-10-04 14:45 ` [ptxdist] [PATCH 4/4] cog: " Bastian Krause
2022-10-19 5:41 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221004144533.2269637-2-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox