feat: ports - zlib, libwapcaplet, libparserutils

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018Ae69wJS7sueQMUwNxV3nX
This commit is contained in:
2026-08-07 20:11:55 +02:00
co-authored by Claude Opus 5
parent 48e97f4e09
commit acb169e2c4
13 changed files with 358 additions and 4 deletions
+28
View File
@@ -0,0 +1,28 @@
# libwapcaplet for MontaukOS
#
# Upstream: https://github.com/netsurf-browser/libwapcaplet (official mirror of
# git.netsurf-browser.org; submodule at upstream/, pinned, no local patches).
#
# Interned string handling. The smallest NetSurf library and the first one
# ported, chosen to prove their buildsystem cross-compiles for x86_64-montauk.
# It does, unpatched -- see the NetSurf section of mk/port.mk.
UPSTREAM := upstream
PORT_NAME := libwapcaplet
PORT_LIB := 1
PORT_ARCHIVE := libwapcaplet.a
PORT_HEADER_ROOT := $(UPSTREAM)/include
PORT_HEADERS := $(UPSTREAM)/include/libwapcaplet/libwapcaplet.h
include ../../mk/port.mk
.PHONY: all clean
all: install-lib
$(PORT_ARCHIVE): $(wildcard $(UPSTREAM)/src/*.c $(UPSTREAM)/include/libwapcaplet/*.h)
$(call ns_build,$(UPSTREAM),wapcaplet)
clean: clean-lib
@$(call ns_clean,$(UPSTREAM))
rm -rf $(UPSTREAM)/$(NS_BUILDDIR)