actions.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # -*- coding: utf-8 -*-
  2. #
  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 get
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. autotools.autoreconf("-vif")
  10. autotools.configure("--disable-static \
  11. --enable-unix-transport \
  12. --enable-tcp-transport \
  13. --enable-local-transport \
  14. --enable-xpm-logos \
  15. --enable-xdm-auth \
  16. --with-pam \
  17. --with-libaudit \
  18. --with-xdmconfigdir=/etc/X11/xdm \
  19. --with-default-vt=vt7 \
  20. --with-config-type=ws \
  21. --with-xft \
  22. --with-pixmapdir=/usr/share/X11/xdm/pixmaps \
  23. ")
  24. #--enable-secure-rpc \
  25. pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
  26. def build():
  27. autotools.make()
  28. def install():
  29. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  30. pisitools.dodir("/var/lib/xdm")
  31. pisitools.dodoc("AUTHORS", "COPYING", "README")