summaryrefslogtreecommitdiff
blob: 882d655f20176c1c251ebfe42b8688a26717b6e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
MODULE_AUTHOR=CREAMYG
MODULE_VERSION=0.314
inherit perl-module

DESCRIPTION='Search engine library.'
LICENSE=" || ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
perl_meta_configure() {
	# Module::Build 0.36 ( 0.360.0 )
	echo \>=virtual/perl-Module-Build-0.36
}
perl_meta_build() {
	# Devel::PPPort 3.13 ( 3.130.0 )
	echo \>=virtual/perl-Devel-PPPort-3.130.0
	# ExtUtils::CBuilder 0.18 ( 0.180.0 )
	echo \>=virtual/perl-ExtUtils-CBuilder-0.18
	# ExtUtils::ParseXS 2.16 ( 2.160.0 )
	echo \>=virtual/perl-ExtUtils-ParseXS-2.16
}
perl_meta_runtime() {
	# JSON::XS 1.53 ( 1.530.0 )
	echo \>=dev-perl/JSON-XS-1.530.0
	# Lingua::Stem::Snowball 0.952 ( 0.952.0 )
	echo \>=dev-perl/Lingua-Stem-Snowball-0.952.0
	# Lingua::StopWords 0.09 ( 0.90.0 )
	echo \>=dev-perl/Lingua-StopWords-0.09
	# Parse::RecDescent
	echo dev-perl/Parse-RecDescent
}
DEPEND="
	$(perl_meta_configure)
	$(perl_meta_build)
	$(perl_meta_runtime)
"
RDEPEND="
	$(perl_meta_runtime)
"

kino_api_changed() {
	elog "This package ( $P ) includes a new API incompatible with <= 0.20."
	elog "If you need the old interface, see dev-perl/KinoSearch1"
}

pkg_postinst() {
	kino_api_changed;
}

pkg_pretend() {
	kino_api_changed;
	default
}

SRC_TEST="do"