summaryrefslogtreecommitdiff
path: root/package/nano
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-03 13:44:01 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-03 13:44:01 +0000
commitec5b83ce2fe8f4f387f7f87b71632830ce382901 (patch)
tree9ce8261a7dc16caaec4868b1de86e5c27462509d /package/nano
parent87eddc3d1f4df642073f7e1df0c4dd613b1a3940 (diff)
- add missing package-source targets
- add missing dependencies to build prerequisites in the config system
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