actions.py 960 B

1234567891011121314151617181920212223242526272829303132
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from pisi.actionsapi import cmaketools
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import shelltools
  8. from pisi.actionsapi import autotools
  9. from pisi.actionsapi import get
  10. def setup():
  11. cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
  12. -DCMAKE_INSTALL_LIBDIR=lib \
  13. -DUSE_ZEITGEIST=OFF \
  14. -DHALF_BRO_INCOM_WEBKIT2=ON \
  15. -DUSE_GTK3=1")
  16. autotools.configure("--jobs=4 \
  17. --prefix=/usr \
  18. --disable-zeitgeist \
  19. --enable-gtk3")
  20. def build():
  21. autotools.make()
  22. def install():
  23. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  24. pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "README")