actions.py 788 B

12345678910111213141516171819202122232425
  1. # -*- coding: utf-8 -*-
  2. #
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/licenses/gpl.txt
  5. from pisi.actionsapi import autotools
  6. from pisi.actionsapi import shelltools
  7. from pisi.actionsapi import get
  8. def setup():
  9. autotools.rawConfigure("--parallel=%s \
  10. --system-libs \
  11. --no-qt-gui \
  12. --no-system-jsoncpp \
  13. --prefix=/usr \
  14. --datadir=/share/cmake \
  15. --docdir=/share/doc/cmake \
  16. --mandir=/share/man" % get.makeJOBS().replace("-j", ""))
  17. def build():
  18. autotools.make()
  19. def install():
  20. autotools.rawInstall("DESTDIR=%s" % get.installDIR())