# Tanım: CLucene, yüksek performanslı bir metin arama motoru olan Lucene'in C ++ versiyonudur.
# URL: http://clucene.sourceforge.net
# Paketçi: alihan-ozturk28@hotmail.com
# Gerekler: cmake
# Grup: kütüphane

isim=clucene
surum=2.3.3.4
devir=1
kaynak=(http://downloads.sourceforge.net/clucene/$isim/$isim-core-$surum.tar.gz
        http://www.linuxfromscratch.org/patches/blfs/svn/$isim-$surum-contribs_lib-1.patch)

derle() {
        cd $isim-core-$surum
        patch -Np1 -i ../$isim-$surum-contribs_lib-1.patch &&
        mkdir build
        cd build
        cmake -DCMAKE_INSTALL_PREFIX=/usr \
              -DBUILD_CONTRIBS_LIB=ON ..
        make
        make DESTDIR=$PKG install
}
