# Template file for 'clucene'
pkgname=clucene
version=0.9.21b
revision=4
wrksrc=${pkgname}-core-${version}
build_style=gnu-configure
short_desc="Text search engine written in C++"
homepage="http://clucene.sourceforge.net/"
license="LGPL-2+/ASL-2.0"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-core-${version}.tar.bz2"
checksum=202ee45af747f18642ae0a088d7c4553521714a511a1a9ec99b8144cf9928317
long_desc="
 CLucene is a high-performance, scalable, cross platform, full-featured,
 open-source indexing and searching API. Specifically, CLucene is the guts
 of a search engine, the hard stuff. You write the easy stuff: the UI and
 the process of selecting and parsing your data files to pump them into the
 search engine yourself, and any specialized queries to pull it back for
 display or further processing."

clucene-devel_package() {
	depends="libstdc++-devel clucene>=${version}"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove usr/lib/CLucene
	}
}

clucene_package() {
	pkg_install() {
		vmove usr
	}
}