summaryrefslogtreecommitdiff
blob: ea2d3245faf7e34b7c8db4fdedc230b7a3d8a160 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-block/mbuffer/mbuffer-20011008.ebuild,v 1.1 2005/03/05 22:56:40 ciaranm Exp $

DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality."
HOMEPAGE="http://www.rcs.ei.tum.de/~maierkom/privat/software/mbuffer/"
SRC_URI="http://www.rcs.ei.tum.de/~maierkom/privat/software/mbuffer/${P}.tgz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE="debug nls"

DEPEND="virtual/libc"

src_compile() {
	local myconf
	myconf="${myconf} `use_enable debug`"
	myconf="${myconf} `use_enable nls`"

	econf ${myconf} || die "econf failed"
	emake || die "compile problem"
}

src_install() {
	einstall exec_prefix="${D}/usr"
	dodoc AUTHORS COPYING INSTALL NEWS README ChangeLog
}