f0801fa2f3
After the latest version bump ncursesw5-config is automatically detected if it's present in the build machine (almost always because we need full ncurses support with headers for Kconfig's menuconfig). Since we don't have ncursesw support in buildroot just say no. Fixes: http://autobuild.buildroot.net/results/89d/89d7ec7306411b15f9ffbc2051d0d316237b4c07/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
29 lines
722 B
Makefile
29 lines
722 B
Makefile
################################################################################
|
|
#
|
|
# nano
|
|
#
|
|
################################################################################
|
|
|
|
NANO_VERSION = 2.3.2
|
|
NANO_SITE = http://www.nano-editor.org/dist/v2.3
|
|
NANO_LICENSE = GPLv3+
|
|
NANO_LICENSE_FILES = COPYING
|
|
NANO_MAKE_ENV = CURSES_LIB="-lncurses"
|
|
NANO_CONF_OPT = --without-slang
|
|
NANO_CONF_ENV = ac_cv_prog_NCURSESW_CONFIG=false
|
|
NANO_DEPENDENCIES = ncurses
|
|
|
|
ifeq ($(BR2_PACKAGE_NANO_TINY),y)
|
|
NANO_CONF_OPT += --enable-tiny
|
|
endif
|
|
|
|
define NANO_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano
|
|
endef
|
|
|
|
define NANO_UNINSTALL_TARGET_CMDS
|
|
rm -f $(TARGET_DIR)/usr/bin/nano
|
|
endef
|
|
|
|
$(eval $(autotools-package))
|