summaryrefslogtreecommitdiff
blob: 006900a570e31305615fa192773f2cd3bcaa2f22 (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
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="4"

MODULE_AUTHOR=CREAMYG
MODULE_VERSION="0.312"
inherit perl-module

DESCRIPTION="search engine library"
LICENSE="|| ( Artistic GPL-2 )"

SLOT="0"
KEYWORDS="~amd64 ~x86"

IUSE=""

COMMOND_DEPEND="
	>=dev-perl/Lingua-Stem-Snowball-0.952.0
	>=dev-perl/Lingua-StopWords-0.09
	dev-perl/Parse-RecDescent
	>=dev-perl/JSON-XS-1.53
"
RDEPEND="
	${COMMON_DEPEND}
"
DEPEND="
	${COMMON_DEPEND}
	virtual/perl-Module-Build
	!!<=dev-perl/KinoSearch-0.20
	>=virtual/perl-ExtUtils-CBuilder-0.18
	>=virtual/perl-ExtUtils-ParseXS-2.16
	>=virtual/perl-Devel-PPPort-3.130.0
"
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
}