# Tanım: Qt GUI ile hızlı tarama masaüstü arama motoru
# URL: http://strigi.sourceforge.net
# Paketçi: milisarge
# Gerekler: curl qt4 exiv2 ffmpeg libxml2
# Grup: masaüstü

isim=strigi
surum=0.7.8
devir=2

kaynak=( http://www.vandenoever.info/software/$isim/$isim-$surum.tar.bz2)

derle() {
cd $isim-$surum
sed -i "s/BufferedStream :/STREAMS_EXPORT &/" libstreams/include/strigi/bufferedstream.h
mkdir build
cd    build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DCMAKE_INSTALL_LIBDIR=lib  \
      -DCMAKE_BUILD_TYPE=Release  \
      -DENABLE_CLUCENE=OFF        \
      -DENABLE_CLUCENE_NG=OFF     \
      .. 
make
make DESTDIR=$PKG install
}
