Hi all,
Nano is more useful for email-writing when compiled with support for
line-wrapping. Thus I added a little option which enables some tiny things.
"If not selected, nano will support justify, line wrapping, tab completion and
multiple open file buffers."
Bye,
Clemens
Index: package/nano/Config.in
===================================================================
--- package/nano/Config.in (Revision 2350)
+++ package/nano/Config.in (Arbeitskopie)
@@ -8,3 +8,11 @@
http://www.nano-editor.org/
+config FWRT_PACKAGE_NANO_TINY
+ prompt " only compile a minimal nano (using --enable-tiny)"
+ bool
+ default y
+ depends FWRT_PACKAGE_NANO
+ help
+ If not selected, nano will support justify, line wrapping, tab
completion and multiple open file buffers.
+
Index: package/nano/Makefile
===================================================================
--- package/nano/Makefile (Revision 2350)
+++ package/nano/Makefile (Arbeitskopie)
@@ -18,11 +18,16 @@
CONFIGURE_STYLE:= gnu
CONFIGURE_ENV+= ac_cv_header_regex_h=no
-CONFIGURE_ARGS+= --enable-tiny \
- --enable-nanorc \
+CONFIGURE_ARGS+= --enable-nanorc \
--disable-glibtest \
--disable-utf8 \
--without-slang
+ifeq (${FWRT_PACKAGE_NANO_TINY},y)
+CONFIGURE_ARGS+= --enable-tiny
+else
+CONFIGURE_ARGS+= --disable-browser --disable-help --disable-mouse
--disable-nls --disable-speller --disable-operatingdir --enable-multibuffer
+endif
+
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers