actions.py 653 B

12345678910111213141516171819202122232425
  1. #!/usr/bin/env python3
  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 inary.actionsapi import autotools
  6. from inary.actionsapi import get
  7. from inary.actionsapi import shelltools
  8. def setup():
  9. # shelltools.export("MOC5", "moc-qt5")
  10. shelltools.system("NOCONFIGURE=1 ./autogen.sh")
  11. autotools.configure("--disable-tests \
  12. --enable-vala \
  13. --with-greeter-session=lightdm-gtk-greeter \
  14. --with-greeter-user='root' ")
  15. def build():
  16. autotools.make()
  17. def install():
  18. autotools.rawInstall("DESTDIR=%s" % get.installDIR())