aboutsummaryrefslogtreecommitdiff
path: root/package/nano
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-03 13:44:01 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-03 13:44:01 +0000
commitec5b83ce2fe8f4f387f7f87b71632830ce382901 (patch)
tree9ce8261a7dc16caaec4868b1de86e5c27462509d /package/nano
parent87eddc3d1f4df642073f7e1df0c4dd613b1a3940 (diff)
downloadbuildroot-ec5b83ce2fe8f4f387f7f87b71632830ce382901.tar.gz
buildroot-ec5b83ce2fe8f4f387f7f87b71632830ce382901.tar.bz2
- 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 2032798938..272c061eed 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 148a025bba..fa0e8a811a 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