12345678910111213141516171819202122232425262728 |
- #!/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("sed '/parse_version/d' -i src/linux/integration-test.py")
- #pisitools.dosed("configure", "DISABLE_DEPRECATED", deleteLine=True)
- mesontools.configure("-Dgtk-doc=false \
- -Dudevrulesdir=/lib/udev/rules.d \
- -Dudevhwdbdir=/etc/udev/hwdb.d \
- -Dintrospection=enabled \
- -Dsystemdsystemunitdir=no")
- def build():
- mesontools.build()
- def install():
- mesontools.install()
- pisitools.dodoc("COPYING", "README")
|