commit: 2bbcb5c8ab88c112dfdd6bea624bc2544495597d Author: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> AuthorDate: Sat Feb 11 10:42:04 2023 +0000 Commit: Kurt Kanzenbach <kurt <AT> kmk-computers <DOT> de> CommitDate: Sat Feb 11 10:42:04 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2bbcb5c8
net-libs/ulfius: add 2.7.13 Signed-off-by: Kurt Kanzenbach <kurt <AT> kmk-computers.de> net-libs/ulfius/Manifest | 1 + net-libs/ulfius/ulfius-2.7.13.ebuild | 56 ++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) 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 +}