blob: 897a855f4f85b56c6db7de11220375ee2479e4e9 (
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
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/multitail/multitail-3.4.8.ebuild,v 1.6 2005/05/07 16:30:35 agriffis Exp $
inherit flag-o-matic
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="amd64 ia64 ppc sparc x86"
IUSE="debug"
DEPEND="virtual/libc
sys-libs/ncurses"
src_unpack() {
unpack ${A}
cd ${S}
# tail: '-100lf' option is obsolete; use '-f-n 100'
# since this will be removed in the future
sed -i 's/-%dlf/-fn%d/' mt.c || die "sed mt.c failed"
}
src_compile() {
append-flags "-D$(uname) -DVERSION=\\\"${PV}\\\""
use debug && append-flags "-g -D_DEBUG"
make all CFLAGS="${CFLAGS}" || die "make failed"
}
src_install () {
dobin multitail
insinto /etc
doins multitail.conf
dodoc Changes INSTALL license.txt readme.txt
dohtml manual.html
doman multitail.1
}
|