1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="A fulltext search engine for Tokyo Cabinet"
10 HOMEPAGE="http://fallabs.com/tokyodystopia/"
11 SRC_URI="${HOMEPAGE}${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86"
18 DEPEND="dev-db/tokyocabinet"
22 epatch "${FILESDIR}/fix_rpath.patch"
23 epatch "${FILESDIR}/fix_ldconfig.patch"
24 epatch "${FILESDIR}/remove_docinst.patch"
28 econf --libexecdir=/usr/libexec/${PN} || die
32 emake DESTDIR="${D}" install || die "Install failed"
37 insinto /usr/share/${PF}/example
38 doins example/* || die "Install failed"
44 emake -j1 check || die "Tests failed"