actions.py 681 B

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