wok-4.x annotate clucene/receipt @ rev 8384

Up: ocsinventory ocsinventory-server ocsreports(1.3.3)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Feb 04 17:06:43 2011 +0100 (2011-02-04)
parents 0d48cb16ba98
children cf088243a4a5
rev   line source
domcox@6087 1 # SliTaz package receipt.
domcox@6087 2
domcox@6087 3 PACKAGE="clucene"
domcox@6087 4 VERSION="0.9.21b"
domcox@6087 5 CATEGORY="system-tools"
domcox@6087 6 SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine"
domcox@6087 7 MAINTAINER="domcox@users.sourceforge.net"
domcox@6087 8 SOURCE="clucene-core"
domcox@6087 9 TARBALL="$SOURCE-$VERSION.tar.gz"
domcox@6087 10 WEB_SITE="http://sourceforge.net/projects/clucene/"
domcox@6087 11 WGET_URL="http://downloads.sourceforge.net/clucene/$TARBALL"
domcox@6095 12 TAGS="text indexing"
domcox@6087 13
domcox@6087 14 # Rules to configure and make the package.
domcox@6087 15 compile_rules()
domcox@6087 16 {
domcox@6087 17 cd $src
domcox@6095 18 ./configure \
domcox@6095 19 --prefix=/usr \
domcox@6095 20 --libdir=/usr/lib \
domcox@6095 21 --sysconfdir=/etc \
domcox@6095 22 --localstatedir=/var \
domcox@6095 23 --disable-static \
domcox@6095 24 $CONFIGURE_ARGS
domcox@6087 25 make
domcox@6087 26 make DESTDIR=$PWD/_pkg install
domcox@6087 27 }
domcox@6087 28
domcox@6087 29 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@6087 30 genpkg_rules()
domcox@6087 31 {
domcox@6087 32 mkdir -p $fs/usr/lib
domcox@6087 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
domcox@6087 34 strip -s $fs/usr/lib/*
domcox@6087 35 }
domcox@6087 36