kumquat-buildroot/package/dialog/dialog.mk
Peter Korsgaard 9de1b4c81f dialog: force linking with ncurses
Otherwise the build breaks with:
configure: error: no curses library found

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-20 13:04:15 +02:00

22 lines
552 B
Makefile

#############################################################
#
# dialog
#
#############################################################
DIALOG_VERSION:=1.1-20100428
DIALOG_SOURCE:=dialog-$(DIALOG_VERSION).tgz
DIALOG_SITE:=ftp://invisible-island.net/dialog
DIALOG_CONF_OPT = --with-ncurses
DIALOG_DEPENDENCIES = ncurses
define DIALOG_INSTALL_TARGET_CMDS
install -c $(@D)/dialog $(TARGET_DIR)/usr/bin/dialog
endef
define DIALOG_POST_CLEAN
-$(MAKE) -C $(@D) clean
rm -f $(TARGET_DIR)/usr/bin/dialog
endef
$(eval $(call AUTOTARGETS,package,dialog))