actions.py 770 B

12345678910111213141516171819202122232425262728
  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/copyleft/gpl.txt.
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. autotools.autoreconf("-if")
  10. autotools.configure("\
  11. --disable-static \
  12. --enable-dri \
  13. --enable-viaregtool \
  14. --enable-debug \
  15. --enable-xv-debug \
  16. ")
  17. pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
  18. def build():
  19. autotools.make()
  20. def install():
  21. autotools.install()
  22. pisitools.dodoc("COPYING", "ChangeLog", "NEWS", "README")