aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@kmk-computers.de>2023-02-11 11:42:04 +0100
committerKurt Kanzenbach <kurt@kmk-computers.de>2023-02-11 11:42:04 +0100
commit2bbcb5c8ab88c112dfdd6bea624bc2544495597d (patch)
treec3fc6da66326e36823f610dc57dec926de7b15a6 /net-libs
parentgames-rpg/snoot-game: update ebuild (diff)
downloadguru-2bbcb5c8ab88c112dfdd6bea624bc2544495597d.tar.gz
guru-2bbcb5c8ab88c112dfdd6bea624bc2544495597d.tar.bz2
guru-2bbcb5c8ab88c112dfdd6bea624bc2544495597d.zip
net-libs/ulfius: add 2.7.13
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/ulfius/Manifest1
-rw-r--r--net-libs/ulfius/ulfius-2.7.13.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/net-libs/ulfius/Manifest b/net-libs/ulfius/Manifest
index 61632cf25..0e2fed126 100644
--- a/net-libs/ulfius/Manifest
+++ b/net-libs/ulfius/Manifest
@@ -1 +1,2 @@
DIST ulfius-2.7.12.tar.gz 427636 BLAKE2B 1d9ad9f56275bd602ca73ee5c671ac48e0f5fa2baf188ee3309acc4f24b98488db07a6b8157852395f00813e1985d9bcb0c3d286c6eeee21ecbce5ff41f98396 SHA512 693786ca6d459f22878a751b3d7acbc512dd72f58732df71b449013f3cc73837a24465c8ad8970a5bbd3e7fdc182de2a739ca5408a2d462c02d1eb06a4fa1e01
+DIST ulfius-2.7.13.tar.gz 427607 BLAKE2B 1ccc3c37af135bfab2c7c81231ec8e788cd9df46f9025ae6745e58baff29e0820b7b62f929338f890f1e165bc84b292e3a8e0c6b07e5f83fb9972dcd6414221f SHA512 cb92631f2d20088f21c8accee8841774793d79ae7851e4a0d160db084131e68cb9b78d44bc6519b624f35f007209da61e8173912248cefbec9141cd09690cc3d
diff --git a/net-libs/ulfius/ulfius-2.7.13.ebuild b/net-libs/ulfius/ulfius-2.7.13.ebuild
new file mode 100644
index 000000000..e5d9c08a2
--- /dev/null
+++ b/net-libs/ulfius/ulfius-2.7.13.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="HTTP Framework for REST Applications in C"
+HOMEPAGE="https://github.com/babelouest/ulfius/"
+SRC_URI="https://github.com/babelouest/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="curl doc jansson ssl websocket"
+RESTRICT="test"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+DEPEND="
+ curl? ( net-misc/curl )
+ doc? ( app-doc/doxygen )
+ jansson? ( dev-libs/jansson:= )
+ ssl? ( net-libs/gnutls:= )
+ net-libs/libmicrohttpd:=
+ net-libs/orcania
+ sys-libs/zlib
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_ULFIUS_DOCUMENTATION=$(usex doc)
+ -DDOWNLOAD_DEPENDENCIES=OFF
+ -DWITH_CURL=$(usex curl)
+ -DWITH_GNUTLS=$(usex ssl)
+ -DWITH_JANSSON=$(usex jansson)
+ -DWITH_WEBSOCKET=$(usex websocket)
+ -DWITH_YDER=OFF
+ )
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use doc && cmake_build doc
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( doc/html/* )
+ cmake_src_install
+}