Files
LibreELEC.tv/packages/devel/gettext/package.mk
ilmich 2340f78c2c gettext: disable modula2 support
Co-authored-by: Rudi Heitbaum <rudi@heitbaum.com>
2025-09-03 07:31:19 +00:00

36 lines
1.3 KiB
Makefile

# 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"
PKG_VERSION="0.26"
PKG_SHA256="d1fb86e260cfe7da6031f94d2e44c0da55903dbae0a2fa0fae78c91ae1b56f00"
PKG_LICENSE="GPL"
PKG_SITE="https://www.gnu.org/s/gettext/"
PKG_URL="https://ftp.gnu.org/pub/gnu/gettext/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_HOST="make:host"
PKG_DEPENDS_TARGET="autotools:host make:host gcc:host"
PKG_LONGDESC="A program internationalization library and tools."
PKG_BUILD_FLAGS="+local-cc"
PKG_CONFIGURE_OPTS_COMMON="--disable-rpath \
--disable-modula2"
PKG_CONFIGURE_OPTS_HOST="${PKG_CONFIGURE_OPTS_COMMON} \
--disable-static --enable-shared \
--with-gnu-ld \
--disable-java \
--disable-curses \
--with-included-libxml \
--disable-native-java \
--disable-csharp \
--without-emacs"
PKG_CONFIGURE_OPTS_TARGET="${PKG_CONFIGURE_OPTS_COMMON} \
--with-sysroot=yes"
post_configure_target() {
libtool_remove_rpath gettext-runtime/libasprintf/libtool
libtool_remove_rpath gettext-tools/libtool
}