diff options
-rw-r--r-- | dev-perl/Search-Xapian/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Search-Xapian/Search-Xapian-1.2.25.0.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-perl/Search-Xapian/Manifest b/dev-perl/Search-Xapian/Manifest index 38da8cb8fe8..ff8191e86d8 100644 --- a/dev-perl/Search-Xapian/Manifest +++ b/dev-perl/Search-Xapian/Manifest @@ -1 +1,2 @@ DIST Search-Xapian-1.2.23.0.tar.gz 70255 SHA256 90ea2e962f9a4e5f73719bd30b877f5272da886f3693d3a961f4d84b2ef34402 SHA512 48d47e4edc5f752fc31c4142ce3c92a8ead122d4d872326a153fcb9f8667da4101384a3e06375ebb8d2e3148df744484e92bedad7bf4743417c84018ccda9526 WHIRLPOOL 05b472891a7556f51b1ce1d8ae1e8e6f38ae5538d2e8445e0533e92380dda764a37693d6904fd396b97904486c3e961a4bef4ed1791601a02976f7c85e31e79b +DIST Search-Xapian-1.2.25.0.tar.gz 72097 SHA256 5e5b5968c4001e89d72f93c8a118fa0840c888401ff62acc440ec76be32481d4 SHA512 2bb0bea59ddfd8159df0b3051034ca28478cb74832cfe7a103b8a4dbeddbd41f6223be6ad56eb3dcb8c7a785d2f7d500844c41f35da3997a843b3ba624a4e795 WHIRLPOOL a2bd8a0b02cc973bbcb943773c2b2e49a3efdf881133b3f9def20fd017f623d156d7ad162977e553ab6940d46ab2a2a566072d5de20628e6900bf32ce9eb884b diff --git a/dev-perl/Search-Xapian/Search-Xapian-1.2.25.0.ebuild b/dev-perl/Search-Xapian/Search-Xapian-1.2.25.0.ebuild new file mode 100644 index 00000000000..e5fe760739e --- /dev/null +++ b/dev-perl/Search-Xapian/Search-Xapian-1.2.25.0.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=OLLY +inherit perl-module toolchain-funcs versionator + +VERSION=$(get_version_component_range 1-3) + +SRC_URI+=" http://oligarchy.co.uk/xapian/${VERSION}/${P}.tar.gz" +DESCRIPTION="Perl XS frontend to the Xapian C++ search library" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="examples test" + +RDEPEND="dev-libs/xapian:0/1.2.22 + !dev-libs/xapian-bindings[perl]" +DEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + test? ( dev-perl/Devel-Leak ) +" + +DIST_TEST=do +# parallel fails sometimes... + +myconf="CXX=$(tc-getCXX) CXXFLAGS=${CXXFLAGS}" + +src_install() { + perl-module_src_install + + use examples && { + docinto examples + dodoc "${S}"/examples/* + } +} |