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/lucene++/
Date: Sun, 05 Jan 2020 12:31:53
Message-Id: 1578227500.390bd29b869a5daff23213223bd33a474d6743f5.johu@gentoo
1 commit: 390bd29b869a5daff23213223bd33a474d6743f5
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 5 12:31:17 2020 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 5 12:31:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390bd29b
7
8 dev-cpp/lucene++: Migrate to cmake eclass
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: Johannes Huber <johu <AT> gentoo.org>
12
13 dev-cpp/lucene++/lucene++-3.0.7-r2.ebuild | 36 +++++++++++++++++++++++++++++++
14 1 file changed, 36 insertions(+)
15
16 diff --git a/dev-cpp/lucene++/lucene++-3.0.7-r2.ebuild b/dev-cpp/lucene++/lucene++-3.0.7-r2.ebuild
17 new file mode 100644
18 index 00000000000..84363e8ff77
19 --- /dev/null
20 +++ b/dev-cpp/lucene++/lucene++-3.0.7-r2.ebuild
21 @@ -0,0 +1,36 @@
22 +# Copyright 1999-2020 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +MY_P="LucenePlusPlus-rel_${PV}"
28 +inherit cmake
29 +
30 +DESCRIPTION="C++ port of Lucene library, a high-performance, full-featured text search engine"
31 +HOMEPAGE="https://github.com/luceneplusplus/LucenePlusPlus"
32 +SRC_URI="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_${PV}.tar.gz -> ${P}.tar.gz"
33 +
34 +LICENSE="|| ( LGPL-3 Apache-2.0 )"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
37 +IUSE="debug"
38 +
39 +DEPEND="dev-libs/boost:="
40 +RDEPEND="${DEPEND}"
41 +
42 +RESTRICT="test"
43 +
44 +S="${WORKDIR}/${MY_P}"
45 +
46 +DOCS=( AUTHORS README.rst )
47 +
48 +PATCHES=( "${FILESDIR}/${P}-boost-1.58.patch" )
49 +
50 +src_configure() {
51 + local mycmakeargs=(
52 + -DENABLE_DEMO=OFF
53 + -DENABLE_TEST=OFF
54 + )
55 +
56 + cmake_src_configure
57 +}