actions.py 924 B

1234567891011121314151617181920212223242526272829
  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/copyleft/gpl.txt
  6. from inary.actionsapi import autotools
  7. from inary.actionsapi import inarytools
  8. from inary.actionsapi import shelltools
  9. from inary.actionsapi import get
  10. def setup():
  11. inarytools.cflags.add(" -fno-builtin-strftime")
  12. autotools.configure("--prefix=/usr \
  13. --disable-static \
  14. --enable-liblightdm-gobject \
  15. --with-libxklavier \
  16. --enable-kill-on-sigterm \
  17. --disable-libido \
  18. --disable-libindicator \
  19. --disable-static \
  20. --disable-gtk-doc ")
  21. def build():
  22. autotools.make()
  23. def install():
  24. autotools.rawInstall("DESTDIR=%s" % get.installDIR())