From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- www-servers/civetweb/civetweb-1.12.ebuild | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 www-servers/civetweb/civetweb-1.12.ebuild (limited to 'www-servers/civetweb/civetweb-1.12.ebuild') diff --git a/www-servers/civetweb/civetweb-1.12.ebuild b/www-servers/civetweb/civetweb-1.12.ebuild new file mode 100644 index 000000000000..f5dc3264ac3f --- /dev/null +++ b/www-servers/civetweb/civetweb-1.12.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +HOMEPAGE="https://github.com/civetweb/civetweb/" +DESCRIPTION="Embedded C/C++ web server" +SRC_URI="https://github.com/civetweb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cxx +server ssl" + +RDEPEND="ssl? ( dev-libs/openssl:0= )" +DEPEND="${RDEPEND}" + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=OFF + -DBUILD_SHARED_LIBS=ON + -DCIVETWEB_BUILD_TESTING=OFF + -DCIVETWEB_ENABLE_LUA=OFF + -DCIVETWEB_ENABLE_DUKTAPE=OFF + -DCIVETWEB_ENABLE_CXX="$(usex cxx)" + -DCIVETWEB_ENABLE_SERVER_EXECUTABLE="$(usex server)" + -DCIVETWEB_ENABLE_SSL="$(usex ssl)" + ) + + cmake_src_configure +} -- cgit v1.2.3