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="libiconv"
|
2023-01-02 00:28:36 +00:00
|
|
|
PKG_VERSION="1.17"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="https://savannah.gnu.org/projects/libiconv/"
|
2023-01-02 00:28:36 +00:00
|
|
|
PKG_URL="http://ftp.gnu.org/pub/gnu/libiconv/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="A tool that converts from one character encoding to another through Unicode conversion."
|
|
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
|
2023-01-02 00:28:36 +00:00
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--host=${TARGET_NAME} \
|
|
|
|
--build=${HOST_NAME} \
|
2022-02-05 14:23:32 +00:00
|
|
|
--prefix=/usr \
|
|
|
|
--includedir=/usr/include/iconv \
|
|
|
|
--libdir=/usr/lib/iconv \
|
|
|
|
--sysconfdir=/etc \
|
2023-01-02 00:28:36 +00:00
|
|
|
--enable-shared \
|
|
|
|
--disable-statuc \
|
2022-02-05 14:23:32 +00:00
|
|
|
--disable-nls \
|
|
|
|
--with-gnu-ld"
|