liblouis-3.32.0

This commit is contained in:
uglyside
2025-02-22 23:54:15 +03:00
parent 683012e099
commit ca36953c9c
2 changed files with 25 additions and 24 deletions
+7 -11
View File
@@ -1,7 +1,8 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import get
@@ -10,20 +11,15 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
def setup():
# autotools.autoreconf("-vfi")
autotools.configure("--disable-static --enable-ucs4")
autotools.configure("--prefix=/usr --enable-ucs4 --disable-static")
def build():
autotools.make("-j1")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("AUTHORS", "COPYING", "ChangeLog")
shelltools.export("LD_PRELOAD","%s/liblouis/.libs/liblouis.so.20" % get.curDIR())
pisitools.dodoc("AUTHORS", "COPYING", "COPYING.LESSER")
shelltools.cd("python")
pythonmodules.install("--prefix=/usr --optimize=1")
pythonmodules.install("--prefix=/usr --optimize=1",pyVer = "3")
pythonmodules.install(pyVer = "3")