Files
main/programming/library/utf8proc/actions.py
T
4fury-c3440d8 daded72ecf utf8proc.
2021-11-22 03:58:34 +03:00

23 lines
563 B
Python

#!/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, cmaketools, pisitools
def setup():
shelltools.makedirs("_build")
shelltools.cd("_build")
cmaketools.configure("-DBUILD_SHARED_LIBS=1", sourceDir = "..")
def build():
shelltools.cd("_build")
cmaketools.make()
def install():
shelltools.cd("_build")
cmaketools.install()
pisitools.insinto("/usr/lib/pkgconfig", "../libutf8proc.pc.in", "libutf8proc.pc")