# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/Attic/clucene-0.9.13.ebuild,v 1.2 2006/06/13 21:16:47 squinky86 dead $ DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++" HOMEPAGE="http://clucene.sourceforge.net/" MY_PN=${PN}-core MY_P=${MY_PN}-${PV} SRC_URI="mirror://sourceforge/clucene/${MY_P}.tar.bz2" LICENSE="Apache-2.0 LGPL-2.1" SLOT="1" KEYWORDS="~amd64 ~x86" IUSE="static threads" DEPEND="virtual/libc" S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} cd ${S} } src_compile() { econf $(use_enable static) \ $(use_enable threads multithreading) || die emake || die } src_install() { make DESTDIR=${D} install || die }