Files
mtkports/dev-libs/libutf8proc/Makefile
T

33 lines
1.1 KiB
Makefile

# libutf8proc for MontaukOS
#
# Upstream: git://git.netsurf-browser.org/libutf8proc.git (submodule at
# upstream/, pinned, no local patches).
#
# NetSurf's fork of utf8proc, used only by utils/idna.c for international
# domain names. NOTE: upstream is NetSurf's own server over git:// -- there is
# no GitHub mirror and no https endpoint, so this submodule is fetched over an
# unauthenticated protocol. NetSurf builds fine without it
# (NETSURF_USE_UTF8PROC=NO), at the cost of IDN handling.
UPSTREAM := upstream
PORT_NAME := libutf8proc
PORT_LIB := 1
PORT_ARCHIVE := libutf8proc.a
PORT_PC_IN := $(UPSTREAM)/libutf8proc.pc.in
PORT_PC_VERSION := 2.4.0-1
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),utf8proc)
clean: clean-lib
@$(call ns_clean,$(UPSTREAM))
rm -rf $(UPSTREAM)/$(NS_BUILDDIR)