actions.py 633 B

123456789101112131415161718192021222324252627
  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 pisitools, shelltools, cmaketools
  7. from pisi.actionsapi import get
  8. def setup():
  9. cmaketools.configure("-DCMAKE_INSTALL_PREFIX='/usr' \
  10. -DCMAKE_BUILD_TYPE='Release' \
  11. -DGSETTINGS_COMPILE=OFF \
  12. -DWITH_GTK=3 \
  13. -DCMAKE_INSTALL_LIBEXECDIR=lib/cpu-x")
  14. def build():
  15. cmaketools.make()
  16. #def check():
  17. #cmaketools.make("test")
  18. def install():
  19. cmaketools.install()
  20. pisitools.dodoc("README*", "COPYING")