actions.py 969 B

123456789101112131415161718192021222324252627282930313233
  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 pisitools
  7. from pisi.actionsapi import cmaketools
  8. def setup():
  9. cmaketools.configure("-DYAML_BUILD_SHARED_LIBS=ON")
  10. def build():
  11. cmaketools.make()
  12. def install():
  13. cmaketools.install()
  14. # srt-devel
  15. # pisitools.removeDir("/usr/lib/cmake/GTest")
  16. # pisitools.removeDir("/usr/include/gmock")
  17. # pisitools.removeDir("/usr/include/gtest")
  18. # pisitools.remove("/usr/lib/pkgconfig/gtest_main.pc")
  19. # pisitools.remove("/usr/lib/libgmock.a")
  20. # pisitools.remove("/usr/lib/libgtest.a")
  21. # pisitools.remove("/usr/lib/pkgconfig/gtest.pc")
  22. # pisitools.remove("/usr/lib/pkgconfig/gmock.pc")
  23. # pisitools.remove("/usr/lib/pkgconfig/gmock_main.pc")
  24. # pisitools.remove("/usr/lib/libgtest_main.a")
  25. # pisitools.remove("/usr/lib/libgmock_main.a")