summaryrefslogtreecommitdiff
blob: aacdf1a9c00ec82de29895333d9da7cabae3d542 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/multitail/multitail-3.4.1.ebuild,v 1.1 2004/11/12 05:48:48 avenj Exp $

DESCRIPTION="Tail with multiple windows."
HOMEPAGE="http://www.vanheusden.com/multitail/index.html"
SRC_URI="http://www.vanheusden.com/multitail/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~x86 ~ia64 ~amd64 ~ppc ~sparc"

IUSE="debug"
DEPEND="virtual/libc
	sys-libs/ncurses"

src_compile() {
	CFLAGS="${CFLAGS} -D`uname` -DVERSION=\\\"${PV}\\\""
	use debug && CFLAGS="${CFLAGS} -g -D_DEBUG"
	make all CFLAGS="${CFLAGS}" || die "make failed"
}

src_install () {
	dobin multitail
	dodoc Changes INSTALL license.txt readme.txt multitail.conf
	dohtml manual.html
	doman multitail.1
}