summaryrefslogtreecommitdiff
path: root/www-servers/civetweb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-11-18 09:38:27 +0000
commit536c3711867ec947c1738f2c4b96f22e4863322d (patch)
tree697733f5cb713908dcf378e13fd15a798a906a91 /www-servers/civetweb
parentf65628136faa35d0c4d3b5e7332275c7b35fcd96 (diff)
gentoo resync : 18.11.2018
Diffstat (limited to 'www-servers/civetweb')
-rw-r--r--www-servers/civetweb/Manifest4
-rw-r--r--www-servers/civetweb/civetweb-1.11.ebuild39
-rw-r--r--www-servers/civetweb/metadata.xml3
3 files changed, 45 insertions, 1 deletions
diff --git a/www-servers/civetweb/Manifest b/www-servers/civetweb/Manifest
index 7301a059cf85..083d2fe0bd65 100644
--- a/www-servers/civetweb/Manifest
+++ b/www-servers/civetweb/Manifest
@@ -1,3 +1,5 @@
DIST civetweb-1.10.tar.gz 11350512 BLAKE2B b0a2ef514a0d9f821a1e05e72000901092f722a5628b759401ef4118301ef79ee8b00f44a9fe9e9f64a14b4af6511419d1684cbe9d2b7c0eb18dbd9d98cd7cbe SHA512 54035883fbec590f339a2b4b5bf1b9a93591ea50bff056830d0c45b874cf6e46ce5af39e9dd9d4e0e6c82bec844aa0f159503f337998e9e10e59099b8ecc3f79
+DIST civetweb-1.11.tar.gz 11421650 BLAKE2B 487044a313c2ff005a8dfa247b3d8a3c3b52ef048cbc3050ec8c0402ccef4e12e28de53fed5a3a91df1e7f59ba6c03bf545413ffdd0ce3e4d604148c16c661e9 SHA512 e1520fd2f4a54b6ab4838f4da2ce3f0956e9884059467d196078935a3fce61dad619f3bb1bc2b4c6a757e1a8abfed0e83cba38957c7c52fff235676e9dd1d428
EBUILD civetweb-1.10.ebuild 786 BLAKE2B f31897949f848003bfc2ad5b00644c34ebb728944145ab8bcd190476255689dad49837f5c52cec64b7f666836dc418c8fcde31a2a0b522cce760d100245d0e12 SHA512 9a0d2c27b48274e511279c79227e228f6735b6390a61c6ebdbce3f56a09b08bac100b3c4161ab5939a42abacae9690ec9d9ab27c88828b49dd91ac55133d632b
-MISC metadata.xml 300 BLAKE2B 48cd8fc2dcb98765b4abeccbfe94a6465b277dfd7c4d687b1751ddf272c46d7800ff4d417ba74d3066f704bbc639375cd27f41a2b6d9b82e6b9eff264d8f7bac SHA512 9f3731d440b9cd7e045bba6f8053e719f40ce945d4e534bfcc1fdc6421f888c070a0496690c0397377f80296b49f3c789ae09c2ae9e9037cbc552a83d6b2930a
+EBUILD civetweb-1.11.ebuild 919 BLAKE2B f1fd8bbfaafbb7623895ef6084d9959a8203ca1f7f56283a057376e4bd69870d4117d0fd225cb07a8909799287107277a1b4efe8b9ac1dab6db632eb5a7318a2 SHA512 50577978d94dddf28657145055a3fd0513ec9e86779e84a5357128d4d2b7ad209b8d772990f52ada74a1d9b5a3148ef919044c7d2afd0a35a750af0ac458d1a6
+MISC metadata.xml 380 BLAKE2B 70d2e7224408019b60c92c72ac00fbf278de897b0d5717e8cdc4ac1464eb56d8cd49a5d6219ab24617d080716c0aece0fbfdc223108f4075b2543150ed497455 SHA512 26e8e3c03b3f75ee1497d8d9a4fd9b3258a5d10f0ef5b782ab65c0634af0ada78f70a4d06b8dc224137b1fc94d8b5672dc7a54cf6321d07d8a8b5c0c90d8545f
diff --git a/www-servers/civetweb/civetweb-1.11.ebuild b/www-servers/civetweb/civetweb-1.11.ebuild
new file mode 100644
index 000000000000..b723333e3653
--- /dev/null
+++ b/www-servers/civetweb/civetweb-1.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+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_prepare() {
+ sed -e 's|DESTINATION lib$|DESTINATION ${CMAKE_INSTALL_LIBDIR}|' \
+ -i src/CMakeLists.txt || die
+ cmake-utils_src_prepare
+}
+
+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-utils_src_configure
+}
diff --git a/www-servers/civetweb/metadata.xml b/www-servers/civetweb/metadata.xml
index da48c00830a1..a80fa5cce405 100644
--- a/www-servers/civetweb/metadata.xml
+++ b/www-servers/civetweb/metadata.xml
@@ -7,4 +7,7 @@
<maintainer type="person">
<email>zmedico@gentoo.org</email>
</maintainer>
+ <use>
+ <flag name="server">Build standalone server</flag>
+ </use>
</pkgmetadata>