buildrootschalter/package/dialog/dialog.mk
cmchao f97d2871dc dialog : convert to autotools infrastructure & bump to 1.1-20100428
Changes by Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

 * Installation to target is the default behaviour
 * No installation to staging is the default behaviour
 * Stripping is done globally

Signed-off-by: cmchao <cmchao@gmail.com>
2010-06-24 13:51:07 +02:00

22 lines
520 B
Makefile

#############################################################
#
# dialog
#
#############################################################
DIALOG_VERSION:=1.1-20100428
DIALOG_SOURCE:=dialog-$(DIALOG_VERSION).tgz
DIALOG_SITE:=ftp://invisible-island.net/dialog
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))