mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
28 lines
809 B
Makefile
28 lines
809 B
Makefile
################################################################################
|
|
#
|
|
# dialog
|
|
#
|
|
################################################################################
|
|
|
|
DIALOG_VERSION = 20230209
|
|
DIALOG_SITE = $(call github,ThomasDickey,dialog-snapshots,t$(DIALOG_VERSION))
|
|
DIALOG_DEPENDENCIES = host-pkgconf ncurses $(TARGET_NLS_DEPENDENCIES)
|
|
DIALOG_LICENSE = LGPL-2.1
|
|
DIALOG_LICENSE_FILES = COPYING
|
|
|
|
ifneq ($(BR2_ENABLE_LOCALE),y)
|
|
DIALOG_DEPENDENCIES += libiconv
|
|
endif
|
|
|
|
DIALOG_CONF_OPTS = --with-curses-dir=$(STAGING_DIR)/usr \
|
|
--disable-rpath-hack
|
|
DIALOG_CONF_OPTS += NCURSES_CONFIG=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)
|
|
|
|
ifneq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
|
DIALOG_CONF_OPTS += --with-ncurses
|
|
else
|
|
DIALOG_CONF_OPTS += --with-ncursesw --enable-widec
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|