mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
https://github.com/nemtrif/utfcpp/releases/tag/v4.1.1 Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Julien Olivain <ju.o@free.fr>
24 lines
741 B
Makefile
24 lines
741 B
Makefile
################################################################################
|
|
#
|
|
# utfcpp
|
|
#
|
|
################################################################################
|
|
|
|
UTFCPP_VERSION = 4.1.1
|
|
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))
|