diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-26 22:03:37 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2010-04-26 22:03:37 +0200 |
commit | e0db53202c306634005fa2f6068ea7f06d68d5ab (patch) | |
tree | cfd6434173bd329ac08b90e6e305262a50b385b7 /package/nano | |
parent | 187f0a55323437e33f5a66ef670fe0e49f52bc45 (diff) |
package: get rid of editors subdir
Not much point in a seperate subdir for only four packages.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/nano')
-rw-r--r-- | package/nano/Config.in | 8 | ||||
-rw-r--r-- | package/nano/nano.mk | 24 |
2 files changed, 32 insertions, 0 deletions
diff --git a/package/nano/Config.in b/package/nano/Config.in new file mode 100644 index 000000000..8c780960f --- /dev/null +++ b/package/nano/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_NANO + bool "nano" + 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 new file mode 100644 index 000000000..3e8ba5066 --- /dev/null +++ b/package/nano/nano.mk @@ -0,0 +1,24 @@ +############################################################# +# +# nano +# +############################################################# + +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 + +$(eval $(call AUTOTARGETS,package,nano)) + +$(NANO_TARGET_INSTALL_TARGET): + $(call MESSAGE,"Installing to target") + $(INSTALL) -m 0755 $(NANO_DIR)/src/nano \ + $(TARGET_DIR)/usr/bin/nano + touch $@ + +$(NANO_TARGET_UNINSTALL): + $(call MESSAGE,"Uninstalling") + rm -f $(TARGET_DIR)/usr/bin/nano + rm -f $(NANO_TARGET_INSTALL_TARGET) $(NANO_HOOK_POST_INSTALL) |