Files
2025-12-31 14:51:22 +01:00

24 lines
741 B
Makefile

################################################################################
#
# utfcpp
#
################################################################################
UTFCPP_VERSION = 4.0.9
UTFCPP_SITE = $(call github,nemtrif,utfcpp,v$(UTFCPP_VERSION))
UTFCPP_LICENSE = BSL-1.0
UTFCPP_LICENSE_FILES = LICENSE
# utfcpp is a header-only library, it only makes sense
# to have it installed into the staging directory.
UTFCPP_INSTALL_STAGING = YES
UTFCPP_INSTALL_TARGET = NO
define UTFCPP_INSTALL_STAGING_CMDS
mkdir -p $(STAGING_DIR)/usr/include/utf8/
$(INSTALL) -m 0644 $(@D)/source/utf8.h $(STAGING_DIR)/usr/include/utf8.h
$(INSTALL) -m 0644 $(@D)/source/utf8/* $(STAGING_DIR)/usr/include/utf8/
endef
$(eval $(generic-package))