actions.py 650 B

123456789101112131415161718192021222324
  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 get
  7. from pisi.actionsapi import mesontools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import shelltools
  10. def setup():
  11. mesontools.configure("--prefix=/usr \
  12. --buildtype=plain \
  13. -Ddeprecated_warnings=false \
  14. -Denable_debug=false")
  15. def build():
  16. mesontools.build()
  17. def install():
  18. mesontools.install()
  19. pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README*")