actions.py 647 B

12345678910111213141516171819202122232425262728
  1. #!/usr/bin/env 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. from pisi.actionsapi import mesontools
  10. from pisi.actionsapi import get
  11. shelltools.system("export CXXFLAGS='$CXXFLAGS -fno-lto'")
  12. def setup():
  13. #pisitools.cxxflags.add(" -fno-lto")
  14. mesontools.configure("-Dbuild-test=false")
  15. def build():
  16. mesontools.build()
  17. def install():
  18. mesontools.install()
  19. pisitools.dodoc("LICENSE", "SECURITY*", "README*")