# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-9999.ebuild,v 1.3 2011/04/26 16:03:50 scarabeus Exp $ EAPI=4 inherit cmake-utils git-2 DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++" HOMEPAGE="http://clucene.sourceforge.net/" EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}" LICENSE="|| ( Apache-2.0 LGPL-2.1 )" SLOT="1" KEYWORDS="" IUSE="debug doc static-libs threads" RDEPEND="" DEPEND=" doc? ( >=app-doc/doxygen-1.4.2 ) " PATCHES=( "${FILESDIR}/${P}-cmake.patch" ) DOCS=(AUTHORS ChangeLog README README.PACKAGE REQUESTS) src_configure() { local mycmakeargs=( -DENABLE_ASCII_MODE=OFF -DENABLE_PACKAGING=OFF $(cmake-utils_use_enable debug) $(cmake-utils_use_enable doc CLDOCS) $(cmake-utils_use_build static-libs STATIC_LIBRARIES) $(cmake-utils_use_disable threads MULTITHREADING) ) cmake-utils_src_configure }