aboutsummaryrefslogtreecommitdiffstats
path: root/package/nano
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-03-07 10:00:04 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-03-07 10:00:04 +0000
commitd47bd2de38a6a7efb5e104c37af5761b530629a8 (patch)
treefc445a15868d0e04690efefced8a481963ff5f6c /package/nano
parent5381e1c4862578b1265cdbe66cf65db3d7ca3b22 (diff)
downloadbuildroot-novena-d47bd2de38a6a7efb5e104c37af5761b530629a8.tar.gz
buildroot-novena-d47bd2de38a6a7efb5e104c37af5761b530629a8.zip
buildroot: move editors under package/editors and merge menus
Based on patch by Arnar Mar Sig.
Diffstat (limited to 'package/nano')
-rw-r--r--package/nano/Config.in9
-rw-r--r--package/nano/nano.mk59
2 files changed, 0 insertions, 68 deletions
diff --git a/package/nano/Config.in b/package/nano/Config.in
deleted file mode 100644
index 272c061ee..000000000
--- a/package/nano/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-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.
-
- http://www.nano-editor.org/
diff --git a/package/nano/nano.mk b/package/nano/nano.mk
deleted file mode 100644
index c50f14064..000000000
--- a/package/nano/nano.mk
+++ /dev/null
@@ -1,59 +0,0 @@
-#############################################################
-#
-# nano
-#
-#############################################################
-NANO_VERSION:=1.3.12
-NANO_SOURCE:=nano-$(NANO_VERSION).tar.gz
-NANO_SITE:=http://www.nano-editor.org/dist/v1.3/
-NANO_DIR:=$(BUILD_DIR)/nano-$(NANO_VERSION)
-NANO_CAT:=$(ZCAT)
-NANO_BINARY:=src/nano
-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) -
- $(CONFIG_UPDATE) $(NANO_DIR)
- touch $@
-
-$(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked
- (cd $(NANO_DIR); rm -rf config.cache; \
- $(TARGET_CONFIGURE_OPTS) \
- $(TARGET_CONFIGURE_ARGS) \
- ac_cv_header_regex_h=no \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --prefix=/ \
- --enable-tiny \
- )
- touch $@
-
-$(NANO_DIR)/$(NANO_BINARY): $(NANO_DIR)/.configured
- $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(NANO_DIR)
-
-$(TARGET_DIR)/$(NANO_TARGET_BINARY): $(NANO_DIR)/$(NANO_BINARY)
- install -D $(NANO_DIR)/$(NANO_BINARY) $(TARGET_DIR)/$(NANO_TARGET_BINARY)
-
-nano: uclibc ncurses $(TARGET_DIR)/$(NANO_TARGET_BINARY)
-
-nano-clean:
- rm -f $(TARGET_DIR)/$(NANO_TARGET_BINARY)
- -$(MAKE) -C $(NANO_DIR) clean
-
-nano-dirclean:
- rm -rf $(NANO_DIR)
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(strip $(BR2_PACKAGE_NANO)),y)
-TARGETS+=nano
-endif