# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils distutils subversion ESVN_REPO_URI="svn://anonsvn.kde.org/home/kde/trunk/kdesupport/strigi" ESVN_PROJECT="strigi" DESCRIPTION="Fast crawling Desktop-Searchengine with QT4 GUI" HOMEPAGE="http://www.vandenoever.info/software/strigi" SRC_URI="" LICENSE="GPL-2" SLOT="0" KEYWORDS="-*" IUSE="dbus hyperestraier inotify log qt4 xml" DEPEND=">=dev-cpp/clucene-0.9.15 sys-apps/attr >=dev-util/cmake-2.4.0 >=x11-libs/qt-4.1.2 dbus? ( sys-apps/dbus ) hyperestraier? ( app-text/hyperestraier ) log? ( >=dev-libs/log4cxx-0.9.7 ) qt4? ( >=x11-libs/qt-4.1.2 ) xml? ( dev-libs/libxml2 )" src_compile() { cmake -DENABLE_INOTIFY:BOOL=$(use inotify && echo ON || echo OFF ) \ -DENABLE_DBUS:BOOL=$(use dbus && echo ON || echo OFF) \ -DENABLE_LOG4CXX:BOOL=$(use log && echo ON || echo OFF) \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ -DSTRIGI_INSTALL_LIB_DIR:PATH=$(get_libdir) \ . || die emake || die } src_install() { emake install DESTDIR=${D} || die }