2018-02-15 17:59:11 +00:00
|
|
|
LICENSE = MIT
|
|
|
|
DOWNLOADS = libyaml.archive
|
|
|
|
VERSION = 0.1.7
|
|
|
|
|
|
|
|
URL(libyaml) := http://pyyaml.org/download/libyaml/yaml-$(VERSION).tar.gz
|
2018-05-07 14:45:50 +00:00
|
|
|
SHA(libyaml) := 8088e457264a98ba451a90b8661fcb4f9d6f478f7265d48322a196cec2480729
|
2018-02-15 17:59:11 +00:00
|
|
|
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)
|