genode/ports/ports/lighttpd.mk
Norman Feske 228e70bb5f Native version of lighttpd
The port of lighttpd at 'ports/src/app/lighttpd' executes the web server
directly (w/o using Noux). It is accompanied by the lighttpd.run script.

At the current stage, lighttpd is starting up but fails because of an
unsupport fcntl call.
2012-08-22 09:51:22 +02:00

22 lines
574 B
Makefile

include ports/lighttpd.inc
LIGHTTPD_TGZ = $(LIGHTTPD).tar.gz
LIGHTTPD_URL = http://download.lighttpd.net/lighttpd/releases-1.4.x/$(LIGHTTPD_TGZ)
#
# Interface to top-level prepare Makefile
#
PORTS += $(LIGHTTPD)
prepare:: $(CONTRIB_DIR)/$(LIGHTTPD)
#
# Port-specific local rules
#
$(DOWNLOAD_DIR)/$(LIGHTTPD_TGZ):
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(LIGHTTPD_URL) && touch $@
$(CONTRIB_DIR)/$(LIGHTTPD): $(DOWNLOAD_DIR)/$(LIGHTTPD_TGZ)
$(VERBOSE)tar xfz $< -C $(CONTRIB_DIR) && touch $@
$(VERBOSE)patch -N -p1 < src/app/lighttpd/disable_gethostbyaddr_fcntl.patch