actions.py 649 B

12345678910111213141516171819202122232425
  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. pisitools.dosed("configure.ac", "gen4asm=yes", "gen4asm=no")
  10. autotools.autoreconf("-vif")
  11. autotools.configure("\
  12. --disable-silent-rules \
  13. --disable-wayland \
  14. ")
  15. def build():
  16. autotools.make()
  17. def install():
  18. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  19. pisitools.dodoc("COPYING")