# Template file for 'strigi'
pkgname=strigi
version=0.7.2
distfiles="http://www.vandenoever.info/software/${pkgname}/${pkgname}-${version}.tar.bz2"
build_style=configure
build_wrksrc=build
configure_script=cmake
configure_args="
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=/usr
-DENABLE_INOTIFY=ON .."
short_desc="Small fast desktop searching program"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1ca421bbe420d1839bbe6bfe7c4b52a05590a9b7a7eda77924b554c98e602ab8
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."

subpackages="strigi-devel"

Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run exiv2
Add_dependency run libxml2
Add_dependency run zlib
Add_dependency run bzip2
Add_dependency run clucene
Add_dependency run dbus-libs
Add_dependency run qt
Add_dependency build pkg-config
Add_dependency build cmake
Add_dependency build libstdc++-devel
Add_dependency build exiv2-devel
Add_dependency build libxml2-devel
Add_dependency build zlib-devel
Add_dependency build bzip2-devel
Add_dependency build clucene-devel
Add_dependency build dbus-devel
Add_dependency build qt-devel

pre_configure()
{
	mkdir -p ${build_wrksrc}
}
