actions.py 710 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Copyright 2018 TUBITAK/UEKAE
  5. # Licensed under the GNU General Public License, version 2.
  6. # See the file http://www.gnu.org/copyleft/gpl.txt.
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import shelltools
  10. from pisi.actionsapi import mesontools
  11. from pisi.actionsapi import get
  12. def setup():
  13. # shelltools.system("env NOCONFIGURE=1 ./autogen.sh")
  14. mesontools.configure("--buildtype=release \
  15. -Dtests=false \
  16. -Dselinux=disabled")
  17. def build():
  18. mesontools.build()
  19. def install():
  20. mesontools.install()
  21. pisitools.dodoc("README*", "COPYING")