actions.py 547 B

1234567891011121314151617181920212223
  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 cmaketools, pisitools
  7. def setup():
  8. cmaketools.configure()
  9. def build():
  10. cmaketools.make()
  11. def install():
  12. pisitools.dobin("tini")
  13. pisitools.dobin("tini-static")
  14. # symlink docker-init (nice integration with docker)
  15. pisitools.dosym("/usr/bin/tini-static", "/usr/bin/docker-init")
  16. pisitools.dodoc("LICENSE", "README*", "VERSION")