# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: inherit eutils DESCRIPTION="Fast crawling Desktop-Searchengine with (optional) QT4 GUI" HOMEPAGE="http://www.vandenoever.info/software/strigi" SRC_URI="http://www.vandenoever.info/software/strigi/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="dbus estraier inotify" DEPEND=">=dev-cpp/clucene-0.9.15 sys-apps/attr >=dev-util/cmake-2.4.2 >=sys-libs/zlib-1.2.3 >=app-arch/bzip2-1.0.3 dev-libs/openssl qt4? (>=x11-libs/qt-4.1.2) estraier? ( app-text/hyperestraier ) dbus? ( sys-apps/dbus )" src_compile() { cd ${S} cmake -DENABLE_INOTIFY:BOOL=$(use inotify && echo ON || echo OFF ) \ -DENABLE_DBUS:BOOL=$(use dbus && echo ON || echo OFF) \ -DCMAKE_INSTALL_PREFIX:PATH=/usr \ . || die make || die } src_install() { cd ${S} make install DESTDIR=${D} || die }