2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="gettext"
|
2022-11-01 10:04:06 +00:00
|
|
|
PKG_VERSION="0.21.1"
|
|
|
|
PKG_SHA256="50dbc8f39797950aa2c98e939947c527e5ac9ebd2c1b99dd7b06ba33a6767ae6"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
2022-11-01 10:04:06 +00:00
|
|
|
PKG_SITE="https://www.gnu.org/s/gettext/"
|
|
|
|
PKG_URL="https://ftp.gnu.org/pub/gnu/gettext/${PKG_NAME}-${PKG_VERSION}.tar.xz"
|
2023-02-25 00:39:48 +00:00
|
|
|
PKG_DEPENDS_HOST="make:host"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="A program internationalization library and tools."
|
2023-02-25 00:39:48 +00:00
|
|
|
PKG_BUILD_FLAGS="+local-cc"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_HOST="--disable-static --enable-shared \
|
|
|
|
--disable-rpath \
|
|
|
|
--with-gnu-ld \
|
|
|
|
--disable-java \
|
|
|
|
--disable-curses \
|
|
|
|
--with-included-libxml \
|
|
|
|
--disable-native-java \
|
|
|
|
--disable-csharp \
|
|
|
|
--without-emacs"
|
2022-07-05 12:14:29 +00:00
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--disable-rpath"
|
|
|
|
|
|
|
|
post_configure_target() {
|
|
|
|
libtool_remove_rpath gettext-runtime/libasprintf/libtool
|
|
|
|
libtool_remove_rpath gettext-tools/libtool
|
|
|
|
}
|