kumquat-buildroot/package/newt/newt.mk
Thomas Petazzoni b08bf566e3 newt: use the new gettext logic
This commit switches to use the new gettext logic, which involves:

 - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies
   on gettext/host-gettext

 - using TARGET_NLS_LIBS to force linking against libintl

 - dropping BR2_PACKAGE_GETTEXT selection

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-05 01:28:46 +02:00

20 lines
633 B
Makefile

################################################################################
#
# newt
#
################################################################################
NEWT_VERSION = 0.52.19
NEWT_SITE = https://pagure.io/releases/newt
NEWT_INSTALL_STAGING = YES
NEWT_DEPENDENCIES = popt slang $(TARGET_NLS_DEPENDENCIES)
# Force to use libintl, otherwise it finds gettext functions in the C
# library, and does not link against libintl.
NEWT_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
NEWT_CONF_OPTS = --without-python --without-tcl
NEWT_MAKE = $(MAKE1)
NEWT_LICENSE = GPL-2.0
NEWT_LICENSE_FILES = COPYING
$(eval $(autotools-package))