actions.py 721 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/gpl.txt
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import shelltools
  9. def setup():
  10. pisitools.cflags.add("-ftree-vectorize -ftree-vectorizer-verbose=1")
  11. for i in ["NEWS", "AUTHORS", "ChangeLog"]:
  12. shelltools.touch(i)
  13. autotools.autoreconf("-vfi")
  14. autotools.configure("--disable-debugging \
  15. --disable-static")
  16. def build():
  17. autotools.make()
  18. def install():
  19. autotools.install()
  20. pisitools.dodoc("CHANGES", "COPYRIGHT", "CREDITS", "README", "COPYING", "VERSION")