Update actions.py
This commit is contained in:
@@ -2,29 +2,18 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# 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 shelltools
|
from pisi.actionsapi import mesontools
|
||||||
from pisi.actionsapi import autotools
|
|
||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import get
|
|
||||||
|
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
autotools.configure("--disable-static \
|
mesontools.configure("-D_systemd=false")
|
||||||
--enable-python \
|
|
||||||
--enable-introspection \
|
|
||||||
--libexecdir=/usr/lib/vte \
|
|
||||||
--localstatedir=/var \
|
|
||||||
--without-glX \
|
|
||||||
--disable-gtk-doc")
|
|
||||||
|
|
||||||
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
autotools.make()
|
mesontools.build()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
mesontools.install()
|
||||||
|
|
||||||
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS")
|
pisitools.dodoc("AUTHORS", "README.md", "COPYING*")
|
||||||
|
|||||||
Reference in New Issue
Block a user