diff options
author | Kurt Kanzenbach <kurt@kmk-computers.de> | 2023-01-15 20:07:10 +0100 |
---|---|---|
committer | Kurt Kanzenbach <kurt@kmk-computers.de> | 2023-01-15 20:07:10 +0100 |
commit | e18dbc44260112b3a58b5a22babdfe8a8cb12a60 (patch) | |
tree | bd073def7f5fc5ce0551035a032ad308909a07cb /net-libs | |
parent | net-libs/orcania: drop 2.3.1 (diff) | |
download | guru-e18dbc44260112b3a58b5a22babdfe8a8cb12a60.tar.gz guru-e18dbc44260112b3a58b5a22babdfe8a8cb12a60.tar.bz2 guru-e18dbc44260112b3a58b5a22babdfe8a8cb12a60.zip |
net-libs/ulfius: add 2.7.12
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/ulfius/Manifest | 1 | ||||
-rw-r--r-- | net-libs/ulfius/ulfius-2.7.12.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/net-libs/ulfius/Manifest b/net-libs/ulfius/Manifest index 1a50c179c..720191b42 100644 --- a/net-libs/ulfius/Manifest +++ b/net-libs/ulfius/Manifest @@ -1 +1,2 @@ DIST ulfius-2.7.11.tar.gz 453409 BLAKE2B 7412354d055556543bbc098c4d5ebf052a17b83c4608180d11a7c973164e5ad55b41be9c11f869a0f584be94fd4c586bce73f2a0fe783d4f995dfc741b9a79bf SHA512 48e1136631415cb84f580d28e3ff3849d960ca338ee2902aa08573c48ec40ee7926fef5b1b1d46ab22d5118ed26b033f3240b76823198a35c0292bf66bbacd7b +DIST ulfius-2.7.12.tar.gz 427636 BLAKE2B 1d9ad9f56275bd602ca73ee5c671ac48e0f5fa2baf188ee3309acc4f24b98488db07a6b8157852395f00813e1985d9bcb0c3d286c6eeee21ecbce5ff41f98396 SHA512 693786ca6d459f22878a751b3d7acbc512dd72f58732df71b449013f3cc73837a24465c8ad8970a5bbd3e7fdc182de2a739ca5408a2d462c02d1eb06a4fa1e01 diff --git a/net-libs/ulfius/ulfius-2.7.12.ebuild b/net-libs/ulfius/ulfius-2.7.12.ebuild new file mode 100644 index 000000000..e5d9c08a2 --- /dev/null +++ b/net-libs/ulfius/ulfius-2.7.12.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 +} |