mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user