actions.py 798 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/env python3
  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 inary.actionsapi import cmaketools
  7. from inary.actionsapi import shelltools
  8. from inary.actionsapi import inarytools
  9. from inary.actionsapi import get
  10. def setup():
  11. cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
  12. -DCMAKE_SKIP_RPATH=ON \
  13. -DPERL_VENDORINSTALL=yes \
  14. -DCMAKE_BUILD_TYPE=Release \
  15. -DWITH_WEBKIT=ON \
  16. -DWITH_MOZJS=ON")
  17. def build():
  18. cmaketools.make()
  19. def install():
  20. cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  21. inarytools.dodoc("README", "ChangeLog", "COPYING")