actions.py 609 B

1234567891011121314151617181920212223
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 2.
  5. # See the file http://www.gnu.org/copyleft/gpl.txt.
  6. from pisi.actionsapi import mesontools, pisitools, shelltools, get
  7. def setup():
  8. shelltools.export("PYTHON","/usr/bin/python3")
  9. mesontools.configure()
  10. def build():
  11. mesontools.build()
  12. def install():
  13. mesontools.install()
  14. shelltools.copytree("%s/usr/share/pkgconfig" % get.installDIR(), "%s/usr/lib/pkgconfig" % get.installDIR())
  15. pisitools.removeDir("/usr/share/pkgconfig")
  16. pisitools.dodoc("AUTHORS", "COPYING", "README*")