Files
2021-04-24 14:05:31 +03:00

34 lines
850 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 2.
# See the file http://www.gnu.org/copyleft/gpl.txt.
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import get
# WorkDir = ""
# NoStrip = "/"
def setup():
autotools.configure(" --enable-introspection \
--enable-egl-backend \
--enable-gdk-backend \
--enable-wayland-backend \
--enable-x11-backend \
--enable-evdev-input \
--enable-wayland-compositor \
--enable-gtk-doc ")
# for fix unused dependency
pisitools.dosed("libtool"," -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall('DESTDIR=%s INSTALL="install -p -c"' % get.installDIR())