add libvoikko.

This commit is contained in:
4fury-c3440d8
2022-12-02 11:39:12 +03:00
parent 3520fc17f7
commit 71fdd5ff75
2 changed files with 83 additions and 0 deletions
+22
View File
@@ -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())