actions.py 747 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 http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import cmaketools
  10. from pisi.actionsapi import get
  11. from pisi.actionsapi import qt5
  12. def setup():
  13. shelltools.makedirs("build")
  14. shelltools.cd("build")
  15. cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
  16. -DCMAKE_BUILD_TYPE=Release", sourceDir="..")
  17. def build():
  18. shelltools.cd("build")
  19. qt5.make()
  20. def install():
  21. shelltools.cd("build")
  22. qt5.install()
  23. shelltools.cd("..")
  24. pisitools.dodoc("AUTHORS")