wok-current rev 22601

updated clucene and clucene-dev (0.9.21b -> 2.3.3.4)
author Hans-G?nter Theisgen
date Wed Jan 08 17:31:15 2020 +0100 (2020-01-08)
parents 75ca9eeaad71
children ead22d5c128f
files clucene-dev/receipt clucene/receipt
line diff
     1.1 --- a/clucene-dev/receipt	Wed Jan 08 16:17:41 2020 +0100
     1.2 +++ b/clucene-dev/receipt	Wed Jan 08 17:31:15 2020 +0100
     1.3 @@ -1,20 +1,21 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="clucene-dev"
     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 +SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine - development files."
    1.12  MAINTAINER="domcox@slitaz.org"
    1.13  LICENSE="LGPL Apache"
    1.14 +WEB_SITE="https://sourceforge.net/projects/clucene/"
    1.15 +
    1.16  WANTED="clucene"
    1.17 -WEB_SITE="https://sourceforge.net/projects/clucene/"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr/lib $fs/usr/include
    1.23 -	cp -a $install/usr/include $fs/usr
    1.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/CLucene $fs/usr/lib
    1.26 +	mkdir -p $fs/usr/include
    1.27 +
    1.28 +	cp -a $install/usr/include	$fs/usr
    1.29 +#	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.30 +#	cp -a $install/usr/lib/CLucene $fs/usr/lib
    1.31  }
    1.32 -
     2.1 --- a/clucene/receipt	Wed Jan 08 16:17:41 2020 +0100
     2.2 +++ b/clucene/receipt	Wed Jan 08 17:31:15 2020 +0100
     2.3 @@ -1,36 +1,34 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="clucene"
     2.7 -VERSION="0.9.21b"
     2.8 +VERSION="2.3.3.4"
     2.9  CATEGORY="system-tools"
    2.10 -SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine"
    2.11 +TAGS="text indexing"
    2.12 +SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine."
    2.13  MAINTAINER="domcox@slitaz.org"
    2.14  LICENSE="LGPL Apache"
    2.15 +WEB_SITE="https://sourceforge.net/projects/clucene/"
    2.16 +
    2.17  SOURCE="clucene-core"
    2.18  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.19 -WEB_SITE="https://sourceforge.net/projects/clucene/"
    2.20  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.21 -TAGS="text indexing"
    2.22 +
    2.23 +BUILD_DEPENDS="cmake"
    2.24  
    2.25  # Rules to configure and make the package.
    2.26  compile_rules()
    2.27  {
    2.28 -	cd $src
    2.29 -	./configure \
    2.30 -		--prefix=/usr \
    2.31 -		--libdir=/usr/lib \
    2.32 -		--sysconfdir=/etc \
    2.33 -		--localstatedir=/var \
    2.34 -		--disable-static \
    2.35 -		$CONFIGURE_ARGS
    2.36 +	mkdir	build
    2.37 +	cd	build
    2.38 +	cmake	..				\
    2.39 +		-DCMAKE_INSTALL_PREFIX=/usr &&
    2.40  	make
    2.41 -	make -j1 install
    2.42 +	make install
    2.43  }
    2.44  
    2.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.46  genpkg_rules()
    2.47  {
    2.48  	mkdir -p $fs/usr/lib
    2.49 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.50 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    2.51  }
    2.52 -