mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
Noux: add noux-pkg/lighttpd
This commit is contained in:
parent
a6917d982a
commit
971f25976b
2
ports/ports/lighttpd.inc
Normal file
2
ports/ports/lighttpd.inc
Normal file
@ -0,0 +1,2 @@
|
||||
LIGHTTPD_VERSION = 1.4.31
|
||||
LIGHTTPD = lighttpd-$(LIGHTTPD_VERSION)
|
20
ports/ports/lighttpd.mk
Normal file
20
ports/ports/lighttpd.mk
Normal file
@ -0,0 +1,20 @@
|
||||
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 $@
|
26
ports/src/noux-pkg/lighttpd/target.mk
Normal file
26
ports/src/noux-pkg/lighttpd/target.mk
Normal file
@ -0,0 +1,26 @@
|
||||
TARGET = lighttpd
|
||||
|
||||
NOUX_CONFIGURE_ARGS += --disable-ipv6 \
|
||||
--disable-mmap \
|
||||
--without-bzip2 \
|
||||
--without-pcre
|
||||
|
||||
LIBS += libcrypto libssl zlib #libc_resolv
|
||||
|
||||
#
|
||||
# Make the zlib linking test succeed
|
||||
#
|
||||
Makefile: dummy_libs
|
||||
|
||||
NOUX_LDFLAGS += -L$(PWD)
|
||||
|
||||
dummy_libs: libz.a libcrypto.a libssl.a
|
||||
|
||||
libcrypto.a:
|
||||
$(VERBOSE)$(AR) -rc $@
|
||||
libssl.a:
|
||||
$(VERBOSE)$(AR) -rc $@
|
||||
libz.a:
|
||||
$(VERBOSE)$(AR) -rc $@
|
||||
|
||||
include $(REP_DIR)/mk/noux.mk
|
Loading…
x
Reference in New Issue
Block a user