genode/repos/libports/ports/libyaml.port
Emery Hemingway 72cb71c827 Replace SHA1 hashes of port downloads with SHA256
Now SHA256 has been shown to be an adequate replacement for SHA1, use
SHA256 for verifying all port downloads.

Ref #2767
2018-05-30 13:36:22 +02:00

24 lines
780 B
Plaintext

LICENSE = MIT
DOWNLOADS = libyaml.archive
VERSION = 0.1.7
URL(libyaml) := http://pyyaml.org/download/libyaml/yaml-$(VERSION).tar.gz
SHA(libyaml) := 8088e457264a98ba451a90b8661fcb4f9d6f478f7265d48322a196cec2480729
DIR(libyaml) := src/lib/yaml
DIRS := include/yaml
DIR_CONTENT(include/yaml) = src/lib/yaml/include/*.h
default: src/lib/yaml/src/config.h
src/lib/yaml/src/config.h: src/lib/yaml/config.h.in
@$(MSG_GENERATE)$(notdir $@)
$(VERBOSE)sed \
-e 's/undef YAML_VERSION_MAJOR/define YAML_VERSION_MAJOR 0/' \
-e 's/undef YAML_VERSION_MINOR/define YAML_VERSION_MINOR 1/' \
-e 's/undef YAML_VERSION_PATCH/define YAML_VERSION_PATCH 7/' \
-e 's/undef YAML_VERSION_STRING/define YAML_VERSION_STRING "$(VERSION)"/' \
$< > $@
src/lib/yaml/config.h.in: $(DOWNLOADS)