genode/repos/libports/recipes/src/openjpeg/content.mk
Emery Hemingway 0de751a1c9 Rename app/mupdf to app/pdf_view, create depot recipes
The name 'mupdf' is both the name of a library and a component, thus
preventing a depot recipes for both the shared library and component.

Fix #2582
2017-11-30 11:23:10 +01:00

15 lines
318 B
Makefile

content: src/lib/openjpeg lib/mk/openjpeg.mk LICENSE
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/openjpeg)
src/lib/openjpeg:
mkdir -p $(dir $@)
cp -r $(PORT_DIR)/src/lib/openjpeg $@
echo "LIBS = openjpeg" > $@/target.mk
lib/mk/%.mk:
$(mirror_from_rep_dir)
LICENSE:
cp $(PORT_DIR)/src/lib/openjpeg/LICENSE $@