actions.py 498 B

1234567891011121314151617181920
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import cmaketools
  8. def setup():
  9. pisitools.dosed("CMakeLists.txt", "doc/\$", "share/doc/$")
  10. cmaketools.configure("-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DBURNING=LIBBURNIA")
  11. def build():
  12. cmaketools.make()
  13. def install():
  14. cmaketools.install()