2004-10-08 20:00:32 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# nano
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2010-02-18 20:01:01 +01:00
|
|
|
NANO_VERSION = 2.2.3
|
|
|
|
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-02-18 20:01:01 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,nano))
|
2007-01-03 14:44:01 +01:00
|
|
|
|
2010-02-18 20:01:01 +01:00
|
|
|
$(NANO_TARGET_INSTALL_TARGET):
|
|
|
|
$(call MESSAGE,"Installing to target")
|
|
|
|
$(INSTALL) -m 0755 $(NANO_DIR)/src/nano \
|
|
|
|
$(TARGET_DIR)/usr/bin/nano
|
2008-03-06 19:18:58 +01:00
|
|
|
touch $@
|
2004-10-08 20:00:32 +02:00
|
|
|
|
2010-02-18 20:01:01 +01:00
|
|
|
$(NANO_TARGET_UNINSTALL):
|
|
|
|
$(call MESSAGE,"Uninstalling")
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/nano
|
|
|
|
rm -f $(NANO_TARGET_INSTALL_TARGET) $(NANO_HOOK_POST_INSTALL)
|