2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="icu"
|
2023-11-13 22:18:49 +00:00
|
|
|
PKG_VERSION="74.1"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="Custom"
|
|
|
|
PKG_SITE="http://www.icu-project.org"
|
|
|
|
PKG_URL="https://github.com/unicode-org/icu/releases/download/release-${PKG_VERSION//./-}/icu4c-${PKG_VERSION//./_}-src.tgz"
|
|
|
|
PKG_DEPENDS_HOST="toolchain:host"
|
|
|
|
PKG_DEPENDS_TARGET="toolchain icu:host"
|
|
|
|
PKG_LONGDESC="International Components for Unicode library."
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_TOOLCHAIN="configure"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
2023-08-24 09:53:35 +00:00
|
|
|
#PKG_BUILD_FLAGS="-sysroot"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
configure_package() {
|
|
|
|
PKG_CONFIGURE_SCRIPT="${PKG_BUILD}/source/configure"
|
2023-08-24 09:53:35 +00:00
|
|
|
PKG_CONFIGURE_OPTS_HOST="--disable-layout \
|
|
|
|
--disable-layoutex \
|
|
|
|
--enable-renaming \
|
|
|
|
--disable-samples \
|
|
|
|
--disable-tests \
|
|
|
|
--enable-tools \
|
|
|
|
--disable-extras"
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_HOST} \
|
|
|
|
--with-cross-build=${PKG_BUILD}/.${HOST_NAME}"
|
|
|
|
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|
2023-08-24 09:53:35 +00:00
|
|
|
|