add libvoikko.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#!/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 autotools, get
|
||||
|
||||
i = ''.join([
|
||||
' --disable-hfst',
|
||||
' --disable-static',
|
||||
' --with-dictionary-path=/usr/share/voikko '
|
||||
])
|
||||
|
||||
def setup():
|
||||
autotools.configure(i)
|
||||
|
||||
def build():
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
@@ -0,0 +1,61 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>libvoikko</Name>
|
||||
<Homepage>https://voikko.puimula.org/</Homepage>
|
||||
<Packager>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Packager>
|
||||
<License>GPL-2</License>
|
||||
<License>LGPL-2.1</License>
|
||||
<IsA>app:console</IsA>
|
||||
<IsA>library</IsA>
|
||||
<PartOf>office.spellcheck</PartOf>
|
||||
<Summary>A library of free natural language processing tools.</Summary>
|
||||
<Description>Libvoikko provides spell checking, hyphenation, grammar checking and morphological analysis for Finnish language.</Description>
|
||||
<Archive sha1sum="0e16dd7bf358227a5fd9a64641dd902edd05fd6a" type="targz">
|
||||
https://www.puimula.org/voikko-sources/libvoikko/libvoikko-4.3.1.tar.gz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<!-- <Patch level='1'></Patch> -->
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>libvoikko</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libgcc</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="manpages">/usr/share/man/man1</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<Package>
|
||||
<Name>libvoikko-devel</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency release="current">libvoikko</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="header">/usr/include/libvoikko</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig/libvoikko.pc</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2022-12-02</Date>
|
||||
<Version>4.3.1</Version>
|
||||
<Comment>First build.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user