summaryrefslogtreecommitdiff
path: root/packages/elvis/elvis-tiny_2.2.0.bb
diff options
context:
space:
mode:
authorMartin Dietze <di@fh-wedel.de>2006-09-20 12:44:00 +0000
committerMartin Dietze <di@fh-wedel.de>2006-09-20 12:44:00 +0000
commite721ea36ca9c077fcca99d214a84ef882603246b (patch)
treec787af1c253d936d038e514078ec3a69a2959bd0 /packages/elvis/elvis-tiny_2.2.0.bb
parent46aa2f1cd144f55de55ebc47e2a59c3209b9a212 (diff)
elvis: a vi clone with lots of vim-like features
* elvis-tiny is not as tiny as vim-tiny, i.e. it has visual marking, undo, syntax highlighting etc. * elvis even has http and ftp support
Diffstat (limited to 'packages/elvis/elvis-tiny_2.2.0.bb')
-rw-r--r--packages/elvis/elvis-tiny_2.2.0.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/elvis/elvis-tiny_2.2.0.bb b/packages/elvis/elvis-tiny_2.2.0.bb
new file mode 100644
index 0000000000..178a8447b1
--- /dev/null
+++ b/packages/elvis/elvis-tiny_2.2.0.bb
@@ -0,0 +1,19 @@
+require elvis_${PV}.bb
+
+do_configure_append() {
+ for i in DISPLAY_MAN DISPLAY_HTML DISPLAY_TEX \
+ PROTOCOL_HTTP PROTOCOL_FTP FEATURE_ARRAY \
+ FEATURE_BROWSE FEATURE_FOLD FEATURE_INCSEARCH \
+ FEATURE_LPR FEATURE_MAKE FEATURE_MAPDB \
+ FEATURE_MKEXRC FEATURE_RCSID FEATURE_SHOWTAG \
+ FEATURE_SPELL FEATURE_TEXTOBJ; do
+ sed -i -e "s/^#define[ ]*${i}/#undef ${i}/g" config.h
+ done
+}
+
+do_install_append() {
+ mv ${D}/etc/elvis/elvis.clr ${D}/etc/elvis/elvis.clr-orig
+}
+
+PACKAGES = "${PN}"
+FILES_${PN} = "/usr/bin/elvis /etc/elvis"