actions.py 784 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 cmaketools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import get
  10. WorkDir = "telepathy-qt-%s" % get.srcVERSION()
  11. def setup():
  12. cmaketools.configure("-DDESIRED_QT_VERSION=5 \
  13. -DPYTHON_EXECUTABLE=/usr/bin/python3 \
  14. -DCMAKE_INSTALL_LIBDIR=lib \
  15. -DENABLE_EXAMPLES=OFF \
  16. -DENABLE_TESTS=OFF")
  17. def build():
  18. cmaketools.make()
  19. def install():
  20. cmaketools.install()
  21. pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")