From 71fdd5ff7558b1491d39b7010b17c6d1c96d9e76 Mon Sep 17 00:00:00 2001 From: 4fury-c3440d8 Date: Fri, 2 Dec 2022 11:39:12 +0300 Subject: [PATCH] add libvoikko. --- office/spellcheck/libvoikko/actions.py | 22 ++++++++++ office/spellcheck/libvoikko/pspec.xml | 61 ++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) create mode 100644 office/spellcheck/libvoikko/actions.py create mode 100644 office/spellcheck/libvoikko/pspec.xml diff --git a/office/spellcheck/libvoikko/actions.py b/office/spellcheck/libvoikko/actions.py new file mode 100644 index 0000000000..b6a2463978 --- /dev/null +++ b/office/spellcheck/libvoikko/actions.py @@ -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()) diff --git a/office/spellcheck/libvoikko/pspec.xml b/office/spellcheck/libvoikko/pspec.xml new file mode 100644 index 0000000000..557771f1e0 --- /dev/null +++ b/office/spellcheck/libvoikko/pspec.xml @@ -0,0 +1,61 @@ + + + + + libvoikko + https://voikko.puimula.org/ + + fury + uglyside@yandex.ru + + GPL-2 + LGPL-2.1 + app:console + library + office.spellcheck + A library of free natural language processing tools. + Libvoikko provides spell checking, hyphenation, grammar checking and morphological analysis for Finnish language. + + https://www.puimula.org/voikko-sources/libvoikko/libvoikko-4.3.1.tar.gz + + + python3 + + + + + + + + libvoikko + + libgcc + + + /usr/bin + /usr/lib + /usr/share/man/man1 + + + + + libvoikko-devel + + libvoikko + + + /usr/include/libvoikko + /usr/lib/pkgconfig/libvoikko.pc + + + + + + 2022-12-02 + 4.3.1 + First build. + fury + uglyside@yandex.ru + + +