mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 00:11:07 +00:00
72cb71c827
Now SHA256 has been shown to be an adequate replacement for SHA1, use SHA256 for verifying all port downloads. Ref #2767
24 lines
780 B
Plaintext
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)
|