actions.py 549 B

1234567891011121314151617181920212223242526272829
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import mesontools, pisitools
  7. y = ''.join([
  8. ' --prefix=/usr',
  9. ' --buildtype=release',
  10. ' -D{docs,mans}=true '
  11. ])
  12. def setup():
  13. mesontools.configure(y)
  14. def build():
  15. mesontools.build()
  16. def check():
  17. # mesontools.build("test") # required X display environment.
  18. pass
  19. def install():
  20. mesontools.install()
  21. pisitools.dodoc("LICENSE")