Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2190 - ebuild for very tiny vi, useable on rescue disk
Summary: ebuild for very tiny vi, useable on rescue disk
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Arcady Genkin (RETIRED)
Depends on:
Reported: 2002-04-28 12:30 UTC by Wout Mertens
Modified: 2002-04-28 14:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Wout Mertens 2002-04-28 12:30:48 UTC
Hi,  This is an ebuild for levee, a vi clone. Code size is 40KB, and it links against libncurses which is already on the rescue disk.  Propose app-editors.
Comment 1 Wout Mertens 2002-04-28 12:44:27 UTC
I give up, I can't even get the solution in bug 71 to work anymore.

So here is the ebuild:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Wout Mertens <>
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.4 2002/03/12 16:05:09 tod Exp


DESCRIPTION="Really tiny vi clone, for things like rescue disks"




src_compile() {
	make LIBES=-lncurses || die
	cp lev lv
	strip lv

src_install () {
	dobin lv
	doman lv.1
Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2002-04-28 13:27:00 UTC
I'll take this one.
Comment 3 Arcady Genkin (RETIRED) gentoo-dev 2002-04-28 13:54:30 UTC
Committed apps-editors/levee.  Thanks, Wout!

I had to make one change in order to make use of the custom CFLAGS variable. 
Please have a look at it for the purpose of your future ebuild submissions.

p.s. As far as bug attachments go, some people had success posting the ebuild in
a tar ball somewhere on the web, and then including the link to that tarball
into the "URL" field of a bug.  It's an ugly hack, I know, but it kinda works. ;^)
Comment 4 Arcady Genkin (RETIRED) gentoo-dev 2002-04-28 14:02:41 UTC
As a chaser, another comment.  You don't need to strip the binaries explicitely:
the portage does that itself.  See version 1.2 of the ebuild.