feat: ports - libhubbub, libcss, libdom
Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_018Ae69wJS7sueQMUwNxV3nX
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# libhubbub for MontaukOS
|
||||
#
|
||||
# Upstream: https://github.com/netsurf-browser/libhubbub (official mirror of
|
||||
# git.netsurf-browser.org; submodule at upstream/, pinned, no local patches).
|
||||
#
|
||||
# HTML5 tokeniser and tree construction. Depends on libparserutils and
|
||||
# libwapcaplet, both of which must already be in the ports sysroot.
|
||||
#
|
||||
# Needs perl on the BUILD host: src/tokeniser/entities.inc is generated from
|
||||
# build/Entities by build/make-entities.pl. That is a host tool, not a target
|
||||
# dependency.
|
||||
|
||||
UPSTREAM := upstream
|
||||
|
||||
PORT_NAME := libhubbub
|
||||
PORT_LIB := 1
|
||||
PORT_DEPENDS := libparserutils libwapcaplet
|
||||
PORT_ARCHIVE := libhubbub.a
|
||||
PORT_PC_IN := $(UPSTREAM)/libhubbub.pc.in
|
||||
PORT_PC_VERSION := 0.3.8
|
||||
PORT_HEADER_ROOT := $(UPSTREAM)/include
|
||||
PORT_HEADERS := $(shell find $(UPSTREAM)/include -name '*.h' 2>/dev/null)
|
||||
|
||||
include ../../mk/port.mk
|
||||
|
||||
.PHONY: all clean
|
||||
all: install-lib
|
||||
|
||||
$(PORT_ARCHIVE): $(shell find $(UPSTREAM)/src $(UPSTREAM)/include -name '*.c' -o -name '*.h' 2>/dev/null)
|
||||
$(call ns_build,$(UPSTREAM),hubbub)
|
||||
|
||||
clean: clean-lib
|
||||
@$(call ns_clean,$(UPSTREAM))
|
||||
rm -rf $(UPSTREAM)/$(NS_BUILDDIR)
|
||||
Reference in New Issue
Block a user