actions.py 731 B

123456789101112131415161718192021222324252627
  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/python2.7 \
  14. -DENABLE_EXAMPLES=OFF \
  15. -DENABLE_TESTS=OFF")
  16. def build():
  17. cmaketools.make()
  18. def install():
  19. cmaketools.install()
  20. pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README")