1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 inherit perl-module toolchain-funcs versionator
9 VERSION=$(get_version_component_range 1-3)
11 SRC_URI+=" http://oligarchy.co.uk/xapian/${VERSION}/${P}.tar.gz"
12 DESCRIPTION="Perl XS frontend to the Xapian C++ search library"
14 LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
16 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
18 RESTRICT="!test? ( test )"
20 RDEPEND="dev-libs/xapian:0/1.2.22
21 !dev-libs/xapian-bindings[perl]"
23 virtual/perl-ExtUtils-MakeMaker
24 test? ( dev-perl/Devel-Leak )
28 # parallel fails sometimes...
30 myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}"
33 perl-module_src_install
37 dodoc "${S}"/examples/*