1 ################################################################################
5 ################################################################################
7 NANO_VERSION_MAJOR
= 2.7
8 NANO_VERSION
= $(NANO_VERSION_MAJOR
).4
9 NANO_SITE
= https
://www.nano-editor.org
/dist/v
$(NANO_VERSION_MAJOR
)
10 NANO_SOURCE
= nano-
$(NANO_VERSION
).
tar.xz
12 NANO_LICENSE_FILES
= COPYING
16 NANO_DEPENDENCIES
= ncurses
18 ifeq ($(BR2_PACKAGE_NCURSES_WCHAR
),y
)
19 NANO_CONF_ENV
+= ac_cv_prog_NCURSESW_CONFIG
=$(STAGING_DIR
)/usr
/bin
/$(NCURSES_CONFIG_SCRIPTS
)
21 NANO_CONF_ENV
+= ac_cv_prog_NCURSESW_CONFIG
=false
22 NANO_MAKE_ENV
+= CURSES_LIB
="-lncurses"
25 ifeq ($(BR2_PACKAGE_FILE
),y
)
26 NANO_DEPENDENCIES
+= file
28 NANO_CONF_ENV
+= ac_cv_lib_magic_magic_open
=no
31 ifeq ($(BR2_PACKAGE_NANO_TINY
),y
)
32 NANO_CONF_OPTS
+= --enable-tiny
33 define NANO_INSTALL_TARGET_CMDS
34 $(INSTALL
) -m
0755 $(@D
)/src
/nano
$(TARGET_DIR
)/usr
/bin
/nano
38 $(eval
$(autotools-package
))