Initial Commit
- initial default booting image
This commit is contained in:
13
package/libpsl/Config.in
Normal file
13
package/libpsl/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_LIBPSL
|
||||
bool "libpsl"
|
||||
depends on BR2_USE_WCHAR # libunistring, icu
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
select BR2_PACKAGE_LIBIDN2 if !BR2_PACKAGE_ICU && !BR2_PACKAGE_LIBIDN
|
||||
select BR2_PACKAGE_LIBUNISTRING if !BR2_PACKAGE_ICU
|
||||
help
|
||||
C library to handle the Public Suffix List of TLDs.
|
||||
|
||||
https://github.com/rockdaboot/libpsl
|
||||
|
||||
comment "libpsl needs a toolchain w/ wchar"
|
||||
depends on !BR2_USE_WCHAR
|
||||
6
package/libpsl/libpsl.hash
Normal file
6
package/libpsl/libpsl.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally generated
|
||||
sha256 1dcc9ceae8b128f3c0b3f654decd0e1e891afc6ff81098f227ef260449dae208 libpsl-0.21.5.tar.gz
|
||||
|
||||
# Hashes for license files:
|
||||
sha256 322392e6001b2b3b0fca705dc9f11f26e12441188ecde50eb1d22909980b2925 COPYING
|
||||
sha256 1d7f52747a9169751cdf2641a8299c0098e9ecdf9429296ffd55bdb14c9ed5b3 src/LICENSE.chromium
|
||||
31
package/libpsl/libpsl.mk
Normal file
31
package/libpsl/libpsl.mk
Normal file
@@ -0,0 +1,31 @@
|
||||
################################################################################
|
||||
#
|
||||
# libpsl
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBPSL_VERSION = 0.21.5
|
||||
LIBPSL_SITE = https://github.com/rockdaboot/libpsl/releases/download/$(LIBPSL_VERSION)
|
||||
LIBPSL_LICENSE = MIT, BSD-3-Clause
|
||||
LIBPSL_LICENSE_FILES = COPYING src/LICENSE.chromium
|
||||
LIBPSL_CONF_OPTS = -Dbuiltin=true
|
||||
LIBPSL_DEPENDENCIES = host-pkgconf
|
||||
LIBPSL_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_ENABLE_LOCALE),)
|
||||
LIBPSL_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
# The order of checks is the same as done by libpsl when configured.
|
||||
ifeq ($(BR2_PACKAGE_LIBIDN2)$(BR2_PACKAGE_LIBUNISTRING),yy)
|
||||
LIBPSL_CONF_OPTS += -Druntime=libidn2
|
||||
LIBPSL_DEPENDENCIES += libidn2 libunistring
|
||||
else ifeq ($(BR2_PACKAGE_ICU),y)
|
||||
LIBPSL_CONF_OPTS += -Druntime=libicu
|
||||
LIBPSL_DEPENDENCIES += icu
|
||||
else
|
||||
LIBPSL_CONF_OPTS += -Druntime=libidn
|
||||
LIBPSL_DEPENDENCIES += libidn libunistring
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user