actions.py 911 B

12345678910111213141516171819202122232425262728293031323334353637
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import autotools
  8. from pisi.actionsapi import shelltools
  9. from pisi.actionsapi import get
  10. j = ''.join([
  11. '--enable-pam',
  12. '--enable-locking',
  13. '--enable-authentication-scheme=pam',
  14. '--disable-static',
  15. '--with-libgl',
  16. '--with-shadow',
  17. '--with-mit-ext',
  18. '--with-elogind',
  19. '--without-console-kit',
  20. '--with-pam-auth-type=system',
  21. '--without-systemd'])
  22. def setup():
  23. # shelltools.system("patch -Rp1 < 0001-Catch-gs_listener_dbus_init-failures.patch")
  24. autotools.configure(j)
  25. def build():
  26. autotools.make()
  27. def install():
  28. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  29. pisitools.dodoc("COPYING*", "INSTALL", "NEWS", "README.md")