actions.py 659 B

1234567891011121314151617181920212223
  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 cmaketools
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. cmaketools.configure("-DCMAKE_INSTALL_PREFIX=/usr \
  10. -DCMAKE_BUILD_TYPE=Release \
  11. -DSHARED_ONLY=yes \
  12. -DICAL_BUILD_DOCS=true \
  13. -DGOBJECT_INTROSPECTION=true \
  14. -DICAL_GLIB_VAPI=true")
  15. def build():
  16. cmaketools.make()
  17. def install():
  18. cmaketools.install()