2006-01-23 19:27:46 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# dialog
|
|
|
|
#
|
|
|
|
#############################################################
|
2010-06-16 13:47:07 +02:00
|
|
|
DIALOG_VERSION:=1.1-20100428
|
2007-08-13 02:12:49 +02:00
|
|
|
DIALOG_SOURCE:=dialog-$(DIALOG_VERSION).tgz
|
|
|
|
DIALOG_SITE:=ftp://invisible-island.net/dialog
|
2010-07-20 13:04:15 +02:00
|
|
|
DIALOG_CONF_OPT = --with-ncurses
|
2010-11-25 11:07:08 +01:00
|
|
|
DIALOG_CONF_ENV = ac_cv_path_NCURSES_CONFIG=true LIBS=-lncurses
|
2010-06-16 13:47:07 +02:00
|
|
|
DIALOG_DEPENDENCIES = ncurses
|
2006-01-23 19:27:46 +01:00
|
|
|
|
2010-11-25 11:07:08 +01:00
|
|
|
ifneq ($(BR2_ENABLE_LOCALE),y)
|
|
|
|
DIALOG_DEPENDENCIES+=libiconv
|
|
|
|
endif
|
|
|
|
|
2010-06-16 13:47:07 +02:00
|
|
|
define DIALOG_INSTALL_TARGET_CMDS
|
|
|
|
install -c $(@D)/dialog $(TARGET_DIR)/usr/bin/dialog
|
|
|
|
endef
|
2006-01-23 19:27:46 +01:00
|
|
|
|
2010-06-16 13:47:07 +02:00
|
|
|
define DIALOG_POST_CLEAN
|
|
|
|
-$(MAKE) -C $(@D) clean
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/dialog
|
|
|
|
endef
|
2006-01-23 19:27:46 +01:00
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|