Initial Commit
- initial default booting image
This commit is contained in:
10
package/utfcpp/Config.in
Normal file
10
package/utfcpp/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_UTFCPP
|
||||
bool "utfcpp"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
UTF-8 with C++ in a Portable Way
|
||||
|
||||
https://github.com/nemtrif/utfcpp
|
||||
|
||||
comment "utfcpp needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
3
package/utfcpp/utfcpp.hash
Normal file
3
package/utfcpp/utfcpp.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 1ca68016f0abc24172998e39ce0d8f8e2b7a26f7579a0ff85d4e1b9a7aea56f8 utfcpp-4.1.1.tar.gz
|
||||
sha256 c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566 LICENSE
|
||||
23
package/utfcpp/utfcpp.mk
Normal file
23
package/utfcpp/utfcpp.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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))
|
||||
Reference in New Issue
Block a user