actions.py 569 B

12345678910111213141516171819202122
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import get
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import cmaketools
  9. from pisi.actionsapi import mesontools
  10. def setup():
  11. cmaketools.configure("-Bbuild \
  12. -GNinja \
  13. -DCMAKE_INSTALL_PREFIX=/usr")
  14. def build():
  15. mesontools.build()
  16. def install():
  17. mesontools.install()
  18. pisitools.dodoc("LICENSE", "README*")