genode/repos/ports/ports/dosbox.mk
Norman Feske ca971bbfd8 Move repositories to 'repos/' subdirectory
This patch changes the top-level directory layout as a preparatory
step for improving the tools for managing 3rd-party source codes.
The rationale is described in the issue referenced below.

Issue #1082
2014-05-14 16:08:00 +02:00

20 lines
465 B
Makefile

include ports/dosbox.inc
DOSBOX_SVN_URL = http://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk
#
# Interface to top-level prepare Makefile
#
PORTS += $(DOSBOX)
prepare:: $(CONTRIB_DIR)/$(DOSBOX)
#
# Port-specific local rules
#
$(CONTRIB_DIR)/$(DOSBOX):
$(ECHO) "checking out 'dosbox rev. $(DOSBOX_REV)' to '$@'"
$(VERBOSE)svn export $(DOSBOX_SVN_URL)@$(DOSBOX_REV) $@
$(VERBOSE)for i in src/app/dosbox/patches/*.patch; do \
patch -N -p0 < $$i; done || true