dev-cpp/websocketpp: Migrate to cmake eclass

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Johannes Huber <johu@gentoo.org>
This commit is contained in:
Johannes Huber
2020-01-12 14:03:25 +01:00
parent fc436fd1b1
commit 6dcf7258b1

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
inherit cmake
DESCRIPTION="C++/Boost Asio based websocket client/server library"
HOMEPAGE="https://www.zaphoyd.com/websocketpp"
@@ -31,11 +31,12 @@ src_configure() {
-DENABLE_CPP11=ON
-DBUILD_TESTS="$(usex test)"
)
cmake-utils_src_configure
cmake_src_configure
}
src_install() {
cmake-utils_src_install
cmake_src_install
if use examples; then
dodoc -r examples