actions.py 745 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env 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. def setup():
  10. cmaketools.configure("-DUSE_SYSTEM_XZ=ON \
  11. -DUSE_SYSTEM_SQUASHFUSE=ON \
  12. -DUSE_SYSTEM_LIBARCHIVE=ON \
  13. -DUSE_SYSTEM_BOOST=ON \
  14. -DUSE_SYSTEM_XDGUTILS=ON \
  15. -DBUILD_TESTING=OFF")
  16. def build():
  17. cmaketools.make()
  18. def install():
  19. cmaketools.rawInstall("DESTDIR=%s" % get.installDIR())
  20. pisitools.dodoc("LICENSE", "README*")