Files
buildroot/package/utfcpp/utfcpp.mk
Bernd Kuhls 55ce2b60c3 package/utfcpp: fix comments
Buildroot commit dc55e7eb51 added this
package as copy from the taglib package but forgot to change all taglib-
related comments.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit b7b96c97f9)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
2026-01-09 16:10:42 +01:00

24 lines
741 B
Makefile

################################################################################
#
# utfcpp
#
################################################################################
UTFCPP_VERSION = 4.0.6
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))