2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2004-10-08 20:00:32 +02:00
|
|
|
#
|
|
|
|
# nano
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2004-10-08 20:00:32 +02:00
|
|
|
|
2013-12-18 19:20:02 +01:00
|
|
|
NANO_VERSION_MAJOR = 2.3
|
2014-07-12 19:41:41 +02:00
|
|
|
NANO_VERSION = $(NANO_VERSION_MAJOR).5
|
2013-12-18 19:20:02 +01:00
|
|
|
NANO_SITE = http://www.nano-editor.org/dist/v$(NANO_VERSION_MAJOR)
|
2012-08-19 22:18:26 +02:00
|
|
|
NANO_LICENSE = GPLv3+
|
|
|
|
NANO_LICENSE_FILES = COPYING
|
2010-02-18 20:01:01 +01:00
|
|
|
NANO_MAKE_ENV = CURSES_LIB="-lncurses"
|
2011-03-07 16:55:36 +01:00
|
|
|
NANO_CONF_OPT = --without-slang
|
2013-10-21 20:29:55 +02:00
|
|
|
NANO_CONF_ENV = ac_cv_prog_NCURSESW_CONFIG=false
|
2010-02-18 20:01:01 +01:00
|
|
|
NANO_DEPENDENCIES = ncurses
|
2004-10-08 20:00:32 +02:00
|
|
|
|
2013-11-14 17:54:42 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_FILE),y)
|
|
|
|
NANO_DEPENDENCIES += file
|
|
|
|
else
|
|
|
|
NANO_CONF_ENV += ac_cv_lib_magic_magic_open=no
|
|
|
|
endif
|
|
|
|
|
2011-03-07 16:55:36 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_NANO_TINY),y)
|
|
|
|
NANO_CONF_OPT += --enable-tiny
|
2010-09-01 23:45:56 +02:00
|
|
|
define NANO_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano
|
|
|
|
endef
|
2014-07-12 19:41:41 +02:00
|
|
|
endif
|
2004-10-08 20:00:32 +02:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|