diff options
author | Martin Dietze <di@fh-wedel.de> | 2006-09-20 12:44:00 +0000 |
---|---|---|
committer | Martin Dietze <di@fh-wedel.de> | 2006-09-20 12:44:00 +0000 |
commit | e721ea36ca9c077fcca99d214a84ef882603246b (patch) | |
tree | c787af1c253d936d038e514078ec3a69a2959bd0 /packages/elvis/elvis_2.2.0.bb | |
parent | 46aa2f1cd144f55de55ebc47e2a59c3209b9a212 (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_2.2.0.bb')
-rw-r--r-- | packages/elvis/elvis_2.2.0.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/packages/elvis/elvis_2.2.0.bb b/packages/elvis/elvis_2.2.0.bb new file mode 100644 index 0000000000..49fe5f2a1f --- /dev/null +++ b/packages/elvis/elvis_2.2.0.bb @@ -0,0 +1,53 @@ +DESCRIPTION = "A vi clone" +SECTION = "base" +PRIORITY = "optional" +MAINTAINER = "Martin Dietze <herbert@spamcop.net>" +LICENSE = "Perl Clarified Artistic License" + +SRC_URI = "ftp://ftp.cs.pdx.edu/pub/elvis/elvis-2.2_0.tar.gz" +S = "${WORKDIR}/elvis-2.2_0" + +CFLAGS_prepend = " -I. -Iosunix -L${STAGING_LIBDIR} " + +do_configure() { + ./configure --without-x --without-gnome --datadir=/etc/elvis --bindir=/usr/bin linux +} + +do_compile() { + ( + unset CC LD CXX CCLD CFLAGS LDFLAGS CPPFLAGS + oe_runmake 'CC=${BUILD_CC}' elvtags + rm *.o + mv elvtags elvtags-native + ) || exit 1 + oe_runmake all + mv elvtags elvtags-target + mv elvtags-native elvtags +} + +do_install() { + install -d -m 755 ${D}/usr + install -d -m 755 ${D}/etc/elvis + oe_runmake PREFIX=${D} \ + BINDIR=${D}/usr/bin \ + DATADIR=${D}/usr/share/elvis \ + DOCDIR=${D}/usr/share/elvis/manual \ + install + install -m 755 elvtags-target ${D}/usr/bin/elvtags + cd ${D}/usr/share/elvis + for i in ali arf awf brf bwf clr ini msg ps spe syn; do + mv elvis."$i" ${D}/etc/elvis + done + rm elvis.x11 + rm elvis.rc + rm -rf ${D}/usr/share/elvis/themes + rm -rf ${D}/usr/share/elvis/stubs + rm -rf ${D}/usr/share/elvis/icons +} + +PACKAGES = "${PN} ${PN}-doc ${PN}-tools" +FILES_${PN}-doc = "/usr/share/elvis/manual /usr/share/elvis/README" +FILES_${PN}-tools = "/usr/bin/elvfmt /usr/bin/elvtags /usr/bin/ref" +FILES_${PN} = "/usr/bin/elvis /etc/elvis /usr/share/elvis/scripts /usr/share/elvis/README /usr/share/elvis/*.*" + + |