27 lines
804 B
Python
27 lines
804 B
Python
#!/usr/bin/python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Licensed under the GNU General Public License, version 3.
|
|
# See the file http://www.gnu.org/licenses/gpl.txt
|
|
|
|
from pisi.actionsapi import get
|
|
from pisi.actionsapi import autotools
|
|
from pisi.actionsapi import pisitools
|
|
from pisi.actionsapi import shelltools
|
|
from pisi.actionsapi import mesontools
|
|
|
|
def setup():
|
|
#shelltools.system("NOCONFIGURE=1 ./autogen.sh")
|
|
#pisitools.dosed("configure", "DISABLE_DEPRECATED", deleteLine=True)
|
|
mesontools.configure("-Dgtk-doc=false \
|
|
-Dudevrulesdir=/lib/udev \
|
|
-Dintrospection=enabled \
|
|
-Dsystemdsystemunitdir=no")
|
|
def build():
|
|
mesontools.build()
|
|
|
|
def install():
|
|
mesontools.install()
|
|
|
|
pisitools.dodoc("COPYING", "README")
|