add poedit.
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 3.
|
||||
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import cmaketools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
i = "-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DLIB_DESTINATION=/usr/lib \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DENABLE_TEST=OFF \
|
||||
-DENABLE_DEMO=OFF \
|
||||
"
|
||||
|
||||
def setup():
|
||||
shelltools.export("CXXFLAGS", "-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT")
|
||||
shelltools.export("CFLAGS", "-lpthread")
|
||||
shelltools.makedirs("build")
|
||||
shelltools.cd("build")
|
||||
cmaketools.configure("%s" % i, sourceDir='..')
|
||||
|
||||
def build():
|
||||
shelltools.cd("build")
|
||||
cmaketools.make()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build")
|
||||
cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("../AUTHORS", "../COPYING", "../README.rst")
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>lucene++</Name>
|
||||
<Homepage>https://github.com/luceneplusplus/LucenePlusPlus</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>LGPLv3</License>
|
||||
<License>Apache-2.0</License>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>programming.library</PartOf>
|
||||
<Summary>An up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.</Summary>
|
||||
<Description>Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.</Description>
|
||||
<Archive sha1sum="b2c38e7ca5056934a5bdb1a69ea251110e3c0377" type="targz">
|
||||
https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_3.0.7.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>lucene++</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>boost</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>lucene++-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">lucene++</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2020-11-26</Date>
|
||||
<Version>3.0.7</Version>
|
||||
<Comment>First Release.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>wascheme@tuta.io</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
Reference in New Issue
Block a user