actions.py 819 B

12345678910111213141516171819202122232425262728
  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 pythonmodules
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import pisitools
  10. from pisi.actionsapi import get
  11. WorkDir="PyQt-x11-gpl-%s" % get.srcVERSION()
  12. def setup():
  13. pisitools.dosed("configure.py", " check_license()", "# check_license()")
  14. pythonmodules.run("configure.py -q /usr/bin/qmake-qt4")
  15. def build():
  16. autotools.make()
  17. def install():
  18. autotools.rawInstall("DESTDIR=%(DESTDIR)s INSTALL_ROOT=%(DESTDIR)s" % {'DESTDIR':get.installDIR()})
  19. #pisitools.dohtml("doc/html/*")
  20. pisitools.dodoc("NEWS", "README", "THANKS", "LICENSE*", "GPL*", "OPENSOURCE*")