1 |
commit: 8bbf17adad28a481f26c63ef20750e658d1f3d09 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 28 22:53:24 2022 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 28 22:57:36 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bbf17ad |
7 |
|
8 |
dev-perl/Search-Xapian: Allow newer xapian |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
12 |
|
13 |
.../Search-Xapian/Search-Xapian-1.2.25.5-r1.ebuild | 35 ++++++++++++++++++++++ |
14 |
1 file changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/dev-perl/Search-Xapian/Search-Xapian-1.2.25.5-r1.ebuild b/dev-perl/Search-Xapian/Search-Xapian-1.2.25.5-r1.ebuild |
17 |
new file mode 100644 |
18 |
index 000000000000..b3fef4008d7b |
19 |
--- /dev/null |
20 |
+++ b/dev-perl/Search-Xapian/Search-Xapian-1.2.25.5-r1.ebuild |
21 |
@@ -0,0 +1,35 @@ |
22 |
+# Copyright 1999-2022 Gentoo Authors |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+ |
25 |
+EAPI=8 |
26 |
+ |
27 |
+DIST_AUTHOR=OLLY |
28 |
+inherit perl-module toolchain-funcs |
29 |
+ |
30 |
+DESCRIPTION="Perl XS frontend to the Xapian C++ search library" |
31 |
+ |
32 |
+SLOT="0" |
33 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" |
34 |
+IUSE="examples test" |
35 |
+RESTRICT="!test? ( test )" |
36 |
+ |
37 |
+RDEPEND=">=dev-libs/xapian-1.4:0= |
38 |
+ !dev-libs/xapian-bindings[perl]" |
39 |
+DEPEND="${RDEPEND} |
40 |
+ virtual/perl-ExtUtils-MakeMaker |
41 |
+ test? ( dev-perl/Devel-Leak ) |
42 |
+" |
43 |
+ |
44 |
+DIST_TEST=do |
45 |
+# parallel fails sometimes... |
46 |
+ |
47 |
+myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}" |
48 |
+ |
49 |
+src_install() { |
50 |
+ perl-module_src_install |
51 |
+ |
52 |
+ use examples && { |
53 |
+ docinto examples |
54 |
+ dodoc "${S}"/examples/* |
55 |
+ } |
56 |
+} |