# HG changeset patch # User Aleksej Bobylev # Date 1445722862 -10800 # Node ID a05bf0bcba3b26a56cad1fafa754713b30f13384 # Parent 89d38ae16843f776b6741a45cecc758ec3392c64 Add lucene++ diff -r 89d38ae16843 -r a05bf0bcba3b libboost-dev/receipt --- a/libboost-dev/receipt Sun Oct 25 00:07:51 2015 +0300 +++ b/libboost-dev/receipt Sun Oct 25 00:41:02 2015 +0300 @@ -90,4 +90,8 @@ rm -f $fs/usr/lib/*$i* rm -r -f $fs/usr/include/boost/*$i* done + # libboost-chrono{-dev} + rm $fs/usr/lib/libboost_chrono* + rm $fs/usr/include/boost/chrono* + rm -r $fs/usr/include/boost/chrono } diff -r 89d38ae16843 -r a05bf0bcba3b lucene++-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lucene++-dev/receipt Sun Oct 25 00:41:02 2015 +0300 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="lucene++-dev" +VERSION="3.0.7" +CATEGORY="development" +SHORT_DESC="C++ port of the Java Lucene library" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="Apache" +WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus" + +WANTED="lucene++" +DEPENDS="libboost-date-time-dev libboost-filesystem-dev libboost-iostreams-dev \ +libboost-regex-dev libboost-system-dev libboost-thread-dev libboost-chrono-dev" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r 89d38ae16843 -r a05bf0bcba3b lucene++/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lucene++/description.txt Sun Oct 25 00:41:02 2015 +0300 @@ -0,0 +1,17 @@ +Lucene++ +======== + +Lucene++ is an up to date C++ port of the popular Java [Lucene] +(http://lucene.apache.org/) library, a high-performance, full-featured text +search engine. + + +Useful Resources +---------------- + +Official [Java Lucene](http://lucene.apache.org/java/docs/index.html) - useful +links and documentation relevant to Lucene and lucene++. + +[Lucene in Action] +(http://www.amazon.com/Lucene-Action-Otis-Gospodnetic/dp/1932394281/ref=sr_1_1?ie=UTF8&s=books&qid=1261343174&sr=8-1) +by Otis Gospodnetic and Erik Hatcher. diff -r 89d38ae16843 -r a05bf0bcba3b lucene++/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lucene++/receipt Sun Oct 25 00:41:02 2015 +0300 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="lucene++" +VERSION="3.0.7" +CATEGORY="utilities" +SHORT_DESC="C++ port of the Java Lucene library" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="Apache" +WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/archive/rel_$VERSION.tar.gz" + +DEPENDS="libboost-date-time libboost-filesystem libboost-iostreams \ +libboost-regex libboost-system libboost-thread libboost-chrono" +BUILD_DEPENDS="cmake libboost-date-time-dev libboost-filesystem-dev \ +libboost-regex-dev libboost-thread-dev libboost-iostreams-dev" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir build; cd build + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}