Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/websocketpp/
Date: Sat, 09 Jun 2018 16:26:52
Message-Id: 1528561603.24360b0832cdb61c65989e7b90560f03bfca32e3.johu@gentoo
1 commit: 24360b0832cdb61c65989e7b90560f03bfca32e3
2 Author: Matija Skala <mskala <AT> gmx <DOT> com>
3 AuthorDate: Wed Jun 6 17:23:01 2018 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 9 16:26:43 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24360b08
7
8 dev-cpp/websocketpp: Fix lib install dir
9
10 Closes: https://github.com/gentoo/gentoo/pull/8736
11 Signed-off-by: Johannes Huber <johu <AT> gentoo.org>
12
13 dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild | 38 +++++++++++++++++++++++++
14 1 file changed, 38 insertions(+)
15
16 diff --git a/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild b/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild
17 new file mode 100644
18 index 00000000000..5102455cf01
19 --- /dev/null
20 +++ b/dev-cpp/websocketpp/websocketpp-0.7.0-r1.ebuild
21 @@ -0,0 +1,38 @@
22 +# Copyright 1999-2017 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +inherit cmake-utils
28 +
29 +DESCRIPTION="C++/Boost Asio based websocket client/server library"
30 +HOMEPAGE="http://www.zaphoyd.com/websocketpp"
31 +SRC_URI="https://github.com/zaphoyd/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
32 +
33 +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
34 +LICENSE="BSD"
35 +SLOT="0"
36 +IUSE="boost examples test"
37 +
38 +DEPEND=""
39 +RDEPEND="${DEPEND}
40 + boost? ( dev-libs/boost )
41 +"
42 +
43 +# bug 630450
44 +RESTRICT="test"
45 +
46 +src_configure() {
47 + local mycmakeargs=(
48 + -DINSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}"
49 + -DENABLE_CPP11="$(usex !boost)"
50 + -DBUILD_TESTS="$(usex test)"
51 + )
52 +
53 + cmake-utils_src_configure
54 +}
55 +
56 +src_install() {
57 + use examples && DOCS=( examples/ )
58 + cmake-utils_src_install
59 +}