# SliTaz package receipt.

PACKAGE="clucene"
VERSION="0.9.21b"
CATEGORY="system-tools"
SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine"
MAINTAINER="domcox@users.sourceforge.net"
SOURCE="clucene-core"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://sourceforge.net/projects/clucene/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
TAGS="text indexing"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--libdir=/usr/lib \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		$CONFIGURE_ARGS
	make
	make -j1 install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}