wok rev 18514

Add lucene++
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Oct 25 00:41:02 2015 +0300 (2015-10-25)
parents 89d38ae16843
children 11bd286c39d2
files libboost-dev/receipt lucene++-dev/receipt lucene++/description.txt lucene++/receipt
line diff
     1.1 --- a/libboost-dev/receipt	Sun Oct 25 00:07:51 2015 +0300
     1.2 +++ b/libboost-dev/receipt	Sun Oct 25 00:41:02 2015 +0300
     1.3 @@ -90,4 +90,8 @@
     1.4  		rm -f $fs/usr/lib/*$i*
     1.5  		rm -r -f $fs/usr/include/boost/*$i*
     1.6  	done
     1.7 +	# libboost-chrono{-dev}
     1.8 +	rm $fs/usr/lib/libboost_chrono*
     1.9 +	rm $fs/usr/include/boost/chrono*
    1.10 +	rm -r $fs/usr/include/boost/chrono
    1.11  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/lucene++-dev/receipt	Sun Oct 25 00:41:02 2015 +0300
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="lucene++-dev"
     2.7 +VERSION="3.0.7"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="C++ port of the Java Lucene library"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="Apache"
    2.12 +WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus"
    2.13 +
    2.14 +WANTED="lucene++"
    2.15 +DEPENDS="libboost-date-time-dev libboost-filesystem-dev libboost-iostreams-dev \
    2.16 +libboost-regex-dev libboost-system-dev libboost-thread-dev libboost-chrono-dev"
    2.17 +
    2.18 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.19 +genpkg_rules()
    2.20 +{
    2.21 +	mkdir -p $fs/usr/lib
    2.22 +	cp -a $install/usr/include $fs/usr
    2.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.24 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/lucene++/description.txt	Sun Oct 25 00:41:02 2015 +0300
     3.3 @@ -0,0 +1,17 @@
     3.4 +Lucene++
     3.5 +========
     3.6 +
     3.7 +Lucene++ is an up to date C++ port of the popular Java [Lucene]
     3.8 +(http://lucene.apache.org/) library, a high-performance, full-featured text
     3.9 +search engine.
    3.10 +
    3.11 +
    3.12 +Useful Resources
    3.13 +----------------
    3.14 +
    3.15 +Official [Java Lucene](http://lucene.apache.org/java/docs/index.html) - useful
    3.16 +links and documentation relevant to Lucene and lucene++.
    3.17 +
    3.18 +[Lucene in Action]
    3.19 +(http://www.amazon.com/Lucene-Action-Otis-Gospodnetic/dp/1932394281/ref=sr_1_1?ie=UTF8&s=books&qid=1261343174&sr=8-1)
    3.20 +by Otis Gospodnetic and Erik Hatcher.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/lucene++/receipt	Sun Oct 25 00:41:02 2015 +0300
     4.3 @@ -0,0 +1,32 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="lucene++"
     4.7 +VERSION="3.0.7"
     4.8 +CATEGORY="utilities"
     4.9 +SHORT_DESC="C++ port of the Java Lucene library"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="Apache"
    4.12 +WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus"
    4.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.14 +WGET_URL="$WEB_SITE/archive/rel_$VERSION.tar.gz"
    4.15 +
    4.16 +DEPENDS="libboost-date-time libboost-filesystem libboost-iostreams \
    4.17 +libboost-regex libboost-system libboost-thread libboost-chrono"
    4.18 +BUILD_DEPENDS="cmake libboost-date-time-dev libboost-filesystem-dev \
    4.19 +libboost-regex-dev libboost-thread-dev libboost-iostreams-dev"
    4.20 +
    4.21 +# Rules to configure and make the package.
    4.22 +compile_rules()
    4.23 +{
    4.24 +	mkdir build; cd build
    4.25 +	cmake -DCMAKE_INSTALL_PREFIX=/usr .. &&
    4.26 +	make &&
    4.27 +	make install
    4.28 +}
    4.29 +
    4.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.31 +genpkg_rules()
    4.32 +{
    4.33 +	mkdir -p $fs/usr/lib
    4.34 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.35 +}