summaryrefslogtreecommitdiffstats
path: root/package/nano
diff options
context:
space:
mode:
Diffstat (limited to 'package/nano')
-rw-r--r--package/nano/Config.in1
-rw-r--r--package/nano/nano.mk2
2 files changed, 3 insertions, 0 deletions
diff --git a/package/nano/Config.in b/package/nano/Config.in
index 203279893..272c061ee 100644
--- a/package/nano/Config.in
+++ b/package/nano/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_NANO
bool "nano"
default n
+ select BR2_PACKAGE_NCURSES
help
A nice ncurses-based editor. Started out as a clone of pico.
Great editor for new users.
diff --git a/package/nano/nano.mk b/package/nano/nano.mk
index 148a025bb..fa0e8a811 100644
--- a/package/nano/nano.mk
+++ b/package/nano/nano.mk
@@ -14,6 +14,8 @@ NANO_TARGET_BINARY:=bin/nano
$(DL_DIR)/$(NANO_SOURCE):
$(WGET) -P $(DL_DIR) $(NANO_SITE)/$(NANO_SOURCE)
+nano-source: $(DL_DIR)/$(NANO_SOURCE)
+
$(NANO_DIR)/.unpacked: $(DL_DIR)/$(NANO_SOURCE)
$(NANO_CAT) $(DL_DIR)/$(NANO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(NANO_DIR)/.unpacked