2004-10-08 20:00:32 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# nano
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2010-12-17 17:12:00 +01:00
|
|
|
NANO_VERSION = 2.2.6
|
2010-02-18 20:01:01 +01:00
|
|
|
NANO_SITE = http://www.nano-editor.org/dist/v2.2
|
|
|
|
NANO_MAKE_ENV = CURSES_LIB="-lncurses"
|
|
|
|
NANO_CONF_OPT = --without-slang --enable-tiny
|
|
|
|
NANO_DEPENDENCIES = ncurses
|
2004-10-08 20:00:32 +02:00
|
|
|
|
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
|
2004-10-08 20:00:32 +02:00
|
|
|
|
2010-09-01 23:45:56 +02:00
|
|
|
define NANO_UNINSTALL_TARGET_CMDS
|
2010-02-18 20:01:01 +01:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/nano
|
2010-09-01 23:45:56 +02:00
|
|
|
endef
|
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|