distribution/packages/textproc/libiconv/package.mk
2023-01-01 19:28:36 -05:00

22 lines
799 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="libiconv"
PKG_VERSION="1.17"
PKG_LICENSE="GPL"
PKG_SITE="https://savannah.gnu.org/projects/libiconv/"
PKG_URL="http://ftp.gnu.org/pub/gnu/libiconv/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A tool that converts from one character encoding to another through Unicode conversion."
PKG_BUILD_FLAGS="+pic"
PKG_CONFIGURE_OPTS_TARGET="--host=${TARGET_NAME} \
--build=${HOST_NAME} \
--prefix=/usr \
--includedir=/usr/include/iconv \
--libdir=/usr/lib/iconv \
--sysconfdir=/etc \
--enable-shared \
--disable-statuc \
--disable-nls \
--with-gnu-ld"