genode/repos/libports/recipes/api/libyaml/content.mk
Christian Helmuth 674b0ba947 Depot: nic_router-nat-dns
A runtime package that provides a Nic session with NAT via the
nic_router and a DNS service via Stubby.

Ref #2682
2018-05-03 15:31:59 +02:00

27 lines
481 B
Makefile

MIRROR_FROM_REP_DIR := lib/import/import-libyaml.mk lib/mk/libyaml.mk
content: $(MIRROR_FROM_REP_DIR)
$(MIRROR_FROM_REP_DIR):
$(mirror_from_rep_dir)
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/libyaml)
MIRROR_FROM_PORT_DIR := src/lib/yaml
content: $(MIRROR_FROM_PORT_DIR)
$(MIRROR_FROM_PORT_DIR):
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/$@ $@
content: include
include:
cp -r $(PORT_DIR)/include/yaml $@
content: LICENSE
LICENSE:
cp $(PORT_DIR)/src/lib/yaml/LICENSE $@