wok diff clucene/receipt @ rev 23979

xvkbd: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 18 09:50:51 2020 +0000 (2020-11-18)
parents 86790a278e70
children 9af0e03b8ad0
line diff
     1.1 --- a/clucene/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/clucene/receipt	Wed Nov 18 09:50:51 2020 +0000
     1.3 @@ -1,36 +1,34 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="clucene"
     1.7 -VERSION="0.9.21b"
     1.8 +VERSION="2.3.3.4"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine"
    1.11 +TAGS="text indexing"
    1.12 +SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine."
    1.13  MAINTAINER="domcox@slitaz.org"
    1.14  LICENSE="LGPL Apache"
    1.15 +WEB_SITE="https://sourceforge.net/projects/clucene/"
    1.16 +
    1.17  SOURCE="clucene-core"
    1.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.19 -WEB_SITE="https://sourceforge.net/projects/clucene/"
    1.20  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.21 -TAGS="text indexing"
    1.22 +
    1.23 +BUILD_DEPENDS="cmake"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	./configure \
    1.30 -		--prefix=/usr \
    1.31 -		--libdir=/usr/lib \
    1.32 -		--sysconfdir=/etc \
    1.33 -		--localstatedir=/var \
    1.34 -		--disable-static \
    1.35 -		$CONFIGURE_ARGS
    1.36 +	mkdir	build
    1.37 +	cd	build
    1.38 +	cmake	..				\
    1.39 +		-DCMAKE_INSTALL_PREFIX=/usr &&
    1.40  	make
    1.41 -	make -j1 install
    1.42 +	make install
    1.43  }
    1.44  
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48  	mkdir -p $fs/usr/lib
    1.49 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.50 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.51  }
    1.52 -