Add nano syntax highlighting definitions

RescueOS v1.1 included syntax highlighting definitions for nano.  Patch
buildroot's nano package to have it install these files from nano's
source.
Esse commit está contido em:
Daniel Gnoutcheff 2015-04-01 00:22:42 -04:00
commit 8b3524ceb6
2 arquivos alterados com 20 adições e 0 exclusões

Ver arquivo

@ -0,0 +1,19 @@
Index: buildroot-2013.02/package/nano/nano.mk
===================================================================
--- buildroot-2013.02.orig/package/nano/nano.mk 2015-03-31 20:35:07.000000000 -0400
+++ buildroot-2013.02/package/nano/nano.mk 2015-03-31 21:29:58.000000000 -0400
@@ -18,10 +18,14 @@
define NANO_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano
+ mkdir -p $(TARGET_DIR)/usr/share/nano
+ $(INSTALL) -t $(TARGET_DIR)/usr/share/nano -m 0644 \
+ $(@D)/doc/syntax/*.nanorc
endef
define NANO_UNINSTALL_TARGET_CMDS
rm -f $(TARGET_DIR)/usr/bin/nano
+ rm -rf $(TARGET_DIR)/usr/share/nano
endef
$(eval $(autotools-package))

Ver arquivo

@ -1,3 +1,4 @@
gcc46-avoid-segfault.patch
linux-firmware-version-bump.patch
linux-firmware-wl1251.patch
nano-add-syntax-highlighting.patch