# Template file for 'strigi'
pkgname=strigi
version=0.7.8
revision=1
build_style=cmake
configure_args="-DENABLE_INOTIFY=ON -DENABLE_LOG4CXX=OFF -DENABLE_FAM=OFF
 -DENABLE_CLUCENE=OFF -DENABLE_CLUCENE_NG=ON -DENABLE_FFMPEG=OFF
 -DCMAKE_INSTALL_LIBDIR=lib"
hostmakedepends="pkg-config cmake perl"
makedepends="boost-devel exiv2-devel libxml2-devel clucene-devel>=2.3.3.4 dbus-devel qt-devel"
short_desc="Small fast desktop searching program"
homepage="http://www.vandenoever.info/software/strigi/"
license="LGPL-2"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://www.vandenoever.info/software/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=43e461a625acdefa59bf58cc9d10aebda9eba920dfbe800fc77e6dcbf1eff989
long_desc="
 Strigi is a daemon which uses a very fast and efficient crawler that can index
 data on your harddrive. Indexing operations are performed without hammering
 your system, this makes Strigi the fastest and smallest desktop searching
 program. Strigi can index different file formats, including the contents of
 the archive files."

strigi-devel_package() {
	depends="${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/cmake
	}
}

strigi_package() {
	pkg_install() {
		vmove usr
	}
}
