From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B6EF138334 for ; Sat, 9 Jun 2018 16:26:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 68062E088F; Sat, 9 Jun 2018 16:26:51 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3BC7EE088F for ; Sat, 9 Jun 2018 16:26:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98EE0335C7D for ; Sat, 9 Jun 2018 16:26:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9D5E63D for ; Sat, 9 Jun 2018 16:26:47 +0000 (UTC) From: "Johannes Huber" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Johannes Huber" Message-ID: <1528561603.24360b0832cdb61c65989e7b90560f03bfca32e3.johu@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild X-VCS-Directories: dev-cpp/websocketpp/ X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber X-VCS-Revision: 24360b0832cdb61c65989e7b90560f03bfca32e3 X-VCS-Branch: master Date: Sat, 9 Jun 2018 16:26:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d90d956c-5a23-4e79-894f-6dbc8efe55b9 X-Archives-Hash: 2202329aaa4844198904c163749c86d5 commit: 24360b0832cdb61c65989e7b90560f03bfca32e3 Author: Matija Skala gmx com> AuthorDate: Wed Jun 6 17:23:01 2018 +0000 Commit: Johannes Huber gentoo org> CommitDate: Sat Jun 9 16:26:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24360b08 dev-cpp/websocketpp: Fix lib install dir Closes: https://github.com/gentoo/gentoo/pull/8736 Signed-off-by: Johannes Huber gentoo.org> dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild | 38 +++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild b/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild new file mode 100644 index 00000000000..5102455cf01 --- /dev/null +++ b/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="C++/Boost Asio based websocket client/server library" +HOMEPAGE="http://www.zaphoyd.com/websocketpp" +SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86" +LICENSE="BSD" +SLOT="0" +IUSE="boost examples test" + +DEPEND="" +RDEPEND="${DEPEND} + boost? ( dev-libs/boost ) +" + +# bug 630450 +RESTRICT="test" + +src_configure() { + local mycmakeargs=( + -DINSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}" + -DENABLE_CPP11="$(usex !boost)" + -DBUILD_TESTS="$(usex test)" + ) + + cmake-utils_src_configure +} + +src_install() { + use examples && DOCS=( examples/ ) + cmake-utils_src_install +}