12345678910111213141516171819202122232425 |
- # -*- coding: utf-8 -*-
- #
- # Licensed under the GNU General Public License, version 3.
- # See the file http://www.gnu.org/licenses/gpl.txt
- from inary.actionsapi import get
- from inary.actionsapi import mesontools
- from inary.actionsapi import inarytools
- from inary.actionsapi import shelltools
- shelltools.system("export")
- def setup():
- #inarytools.dosed("configure.ac", "pthread-stubs", deleteLine=True)
- mesontools.meson_configure("--prefix=/usr -Dudev=true")
- def build():
- mesontools.ninja_build()
- def install():
- mesontools.ninja_install()
- if get.buildTYPE()=="emul32":
- shelltools.system("mkdir -p {}/usr/lib32".format(get.installDIR()))
- shelltools.system("mv {0}/usr/lib*.so* {0}/usr/lib32/".format(get.installDIR()))
- shelltools.system("mv {0}/usr/pkgconfig {0}/usr/lib32/".format(get.installDIR()))
|