# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header$ DESCRIPTION="C++ port of lucene" HOMEPAGE="http://www.sourceforge.net/projects/clucene" SRC_URI="mirror://sourceforge/clucene/${P}-src.tar.gz" LICENSE="LGPL-2.1" # I have no idea which arches will actually work, but it's probably more than # just x86. KEYWORDS="~x86" SLOT="0" IUSE="utf8" DEPEND="sys-devel/libtool" src_compile() { # Some files fail to get installed if we don't redo automake/autoconf. automake autoconf # We cannot use use_enable due to a bug in the configure script which # causes both --disable and --enable to enable utf8; # patch already submitted upstream. Note that I can't actually get UTF8 # support to compile at all on my machine. econf $(useq utf8 && echo '--enable-utf8') || die "econf failed" emake || die "emake failed" } src_install() { make DESTDIR="${D}" install || die "make install failed" }