actions.py 622 B

1234567891011121314151617181920212223242526
  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. from pisi.actionsapi import get
  9. #WorkDir = "%s-%s" % (get.srcNAME(), get.srcVERSION())
  10. NoStrip=["/usr/share/doc"]
  11. def setup():
  12. cmaketools.configure("-DWITH_VIGRANUMPY=1 \
  13. -DWITH_OPENEXR=1 \
  14. -DDOXYGEN_FOUND=0")
  15. def build():
  16. cmaketools.make()
  17. def install():
  18. cmaketools.install()
  19. pisitools.dodoc("README*", "LICENSE*")