You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
662 B

  1. unpack-cmark-gfm:
  2. archive.extracted:
  3. - name: /tmp/cmark-gfm
  4. - source:
  5. - salt://cmark-gfm.tar.gz
  6. - https://github.com/github/cmark-gfm/archive/0.28.3.gfm.19.tar.gz
  7. - source_hash: sha256=d2c8cb255e227d07533a32cfd4a052e189f697e2a9681d8b17d15654259e2e4b
  8. - if_missing: /usr/local/lib/libcmark-gfm.so
  9. - options: --strip-components=1
  10. - enforce_toplevel: False
  11. install-cmark-build-deps:
  12. pkg.installed:
  13. - name: cmake
  14. install-cmark-gfm:
  15. cmd.run:
  16. - cwd: /tmp/cmark-gfm/
  17. - names:
  18. - make
  19. - make install
  20. - onchanges:
  21. - archive: unpack-cmark-gfm
  22. - require:
  23. - pkg: install-cmark-build-deps