actions.py 774 B

1234567891011121314151617181920212223242526272829
  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 pisitools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import qt6, autotools, get
  9. def setup():
  10. # qt6.configure()
  11. shelltools.system("mkdir build")
  12. shelltools.cd("build")
  13. shelltools.system("qmake6-qt6 ../accounts-qml-module.pro PREFIX=/usr")
  14. def build():
  15. # qt6.make()
  16. shelltools.cd("build")
  17. # shelltools.system("qmake6-qt6 make")
  18. autotools.make()
  19. def install():
  20. shelltools.cd("build")
  21. autotools.rawInstall("INSTALL_ROOT=%s" % get.installDIR())
  22. # qt6.install()
  23. shelltools.cd("..")
  24. pisitools.dodoc("COPYING", "README*")