actions.py 945 B

12345678910111213141516171819202122232425262728293031323334
  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 autotools
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import get
  8. def setup():
  9. autotools.configure(" \
  10. --disable-full-tgetent \
  11. --with-app-defaults=/usr/share/X11/app-defaults \
  12. --disable-desktop \
  13. --with-utempter \
  14. --with-tty-group=tty \
  15. --enable-256-color \
  16. --enable-exec-xterm \
  17. --enable-freetype \
  18. --enable-luit \
  19. --enable-wide-chars \
  20. --enable-warnings \
  21. ")
  22. def build():
  23. autotools.make()
  24. def install():
  25. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  26. pisitools.removeDir("/usr/share/pixmaps")
  27. pisitools.dodoc("README.i18n", "xterm.log.html", "ctlseqs.txt", "16colors.txt")